[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: Nathan Kidd <nathan-svn_at_spicycrypto.ca>
Date: 2006-01-26 17:41:09 CET

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 18:01:11 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.