Creating A Patch

From Lazarus wiki
Revision as of 22:38, 21 February 2005 by AndrewH (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This assumes you have gotten Lazarus from CVS. Getting Lazarus#Via CVS


Instructions

Open a command or cmd prompt and cd to the directory that the Lazarus source exists.

Instructions For Windows:

We'll assume that you have your CVS checkout of Lazarus in C:\lazarus

1) Open a MS-DOS prompt

2) c: {press enter}

3) cd \lazarus {press enter}

4) cvs diff -u > mypatch.dif {press enter}

Instructions For Linux/BSD etc:

We'll assume that you have your CVS checkout of Lazarus in $HOME/lazarus

1) Open your favorite Terminal program

2) cd $HOME {press enter}

3) cd lazarus {press enter}

4) cvs diff -u > mypatch.diff {press enter}


Optional: Open the new file created in your Lazarus directory (in this case "mypatch.diff") with your favorite text editor. Remove all the lines starting with "?" and then save it..

Note: I also like to look the file over to see if there is anything in there that shouldn't be.

Now Zip or gzip the file you have created and email it to the Lazarus mailing list.

That's all!