[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Commiting an older revision

From: Jody Shumaker <jody.shumaker_at_gmail.com>
Date: 2006-01-26 21:16:59 CET

Also might want to know that this "revert changes from ..." option is
basically doign a reverse merge. You don't want to update to a revision
number, you want to stay with HEAD, and modify it to what you want.
Basically it's saying "merge changes from revision 3 to revision 2 into the
working copy" which you can then test, and commit.

- Jody

On 1/26/06, Nathan Kidd <nathan-svn@spicycrypto.ca> wrote:
>
> Kevin Greiner wrote:
> > On 1/26/06, Markus Fischer <markus@fischer.name> wrote:
> >> Hi,
> >>
> >> what's the cleanest way to the the following:
> >>
> >> 1. I'm doing a checkout from HEAD, current revision is 3
> >> 2. I'm reverting parts of this checkout to a prior revision, call it
> Rev. 2
> >> 3. I now want the this Rev. 2 becomes part of HEAD so I'ld like to
> >> commit this as Rev. 4
> >
> > 1. checkout HEAD
> > 2. show log
> > 3. right-click r2 and select "Revert changes from this revision"
>
> Almost, but I think he's saying he wants r2 to *become* HEAD. So that
> should be:
>
> 3. right-click *r3* and select "Revert changes from this revision"
>
> > 4. commit
>
> If the current HEAD revision were higher (e.g. r10) it would likely be
> easier to update to HEAD, in Log View click r2 and Save the files in
> that revision to the WC, then commit.
>
> -Nathan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
> For additional commands, e-mail: users-help@tortoisesvn.tigris.org
>
>
Received on Thu Jan 26 21:17:08 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.