figuring out mercurial
John W. Eaton
jwe at bevo.che.wisc.edu
Sat Jul 12 08:46:25 CDT 2008
On 12-Jul-2008, Thomas L. Scofield wrote:
|
| I know I could probably do a lot of reading (and certainly should!)
| to find the answer to my questions---I'm just sure someone out there
| can give me the basic idea much quicker. So that you know, this is
| my first time doing shared program development, so I don't have any
| experience with CVS, svn, etc. to draw on.
|
| I started with the commands
|
| hg clone http://www.octave.org/hg/octave
| hg clone octave octave-imread1
|
| The files I've worked on thus far (and wish to submit their changes)
| were new to Octave; until now they have been part of the image
| package (in octave-forge). After some fiddling, I decided that I
| should add these two files in their unaltered (octave-forge) form
| first. I placed them in src/DLD_FUNCTIONS, then ran
|
| hg add <file1>
| hg add <file2>
|
| I then replaced both of these files with my altered copies. Then I ran
|
| hg diff (actually produces something meaningful, because of
| the procedure I followed)
| hg ci
|
| Now I run "hg export" (or "hg export -o imread.diff"), and get the
Your changeset made this way won't be useful since my copy doesn't
have the files yet and your diffs relative to the added files won't
apply to my sources. I'd also need the changeset that adds the files
to the archive.
jwe
More information about the Octave-maintainers
mailing list