On Thursday 29 September 2005 14:24, Clemens A Mensik wrote:
> Hi Martin,
> > I've read the chapter on merging in the subversion book and I can't seem
> > to quite correlate that to my particular situation. I have my trunk in
> > src/project. From time to time I want to tag a release, which is found
> > in src/<version number>, so
> > src/project
> > src/1.0.0
> > src/1.0.1
> why don't you create a folder for all your "tags" like /src/tags/1.0.0 ...
> after a while your /src directory will get crowded creating tags directly
> in /src...
This is not a high profile project, I don't expect there to be a lot of
releases and I'd like to keep the file structure as simple as possible.
> anyway, back to your problem...
> > etc.
> > Now, if I make a release 1.0.1 and I forget to make some changes to it
> > before I tag it (for instance neglecting to update the INSTALL file), I
> > make those changes in src/project and I want to sync them to src/1.0.1.
> > How can I do that?
> it's pretty simple if you've understood the way svn merges...
> it use your specified delta and tries to merge it into your target.
> lets take a look at your case...
> (1) project (revision 20)
> (2) create your tag (1.0.1, revision 21)
> (3) do some changes in project (revision 22)
> (4) other changes in project (revision 23)
> now you'd like to merge all the changes you did after you've created
> the tag.
> target (merg to)! directory is your tag (1.0.1)... now if you're asked
> about to specify from and to directory and revision you have to
> specify "src/project (revision 20)" as your from and "src/project
> (revision 23)" as your to...
> now, your svn client (subversion, tortoise, whatever you use...) tries to
> merge all those changes you did to project after revision 20 till 23 into
> your specified target (tag)...
> got it? ;-)
svn merge project@20 project@23 1.0.1
When you explain it, it seems perfectly simple :) Somehow I thought there were
supposed to be 2 arguments and I couldn't understand that.. yes I get it now,
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Thu Sep 29 16:03:11 2005