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

Re: [TSVN] Permanently bringing old versions forward

From: Gary Affonso <glists_at_greywether.com>
Date: 2005-02-17 02:14:37 CET

Thanks!

- Gary

On 2/16/05 5:09 PM, "Steve Williams" <stevewilliams@kromestudios.com> wrote:

> It's described in the Subversion book.
> http://svnbook.red-bean.com/en/1.0/ch04s04.html#svn-ch-4-sect-4.2
>
> Essentially, use the merge command with a reverse range of revisions.
>
> The command line version would be
> svn merge -r 53:50 filename
>
> The TortoiseSVN version would be to select Merge, then specify 53 as the
> From revision and 50 as to To revision.
>
> Then commit the file.
>
> Sly
>
> Gary Affonso wrote:
>> First off, let me say that I love TortoiseSVN. I used subversion from the
>> command line and hated it. Liked the server and its improvements over CVS
>> but the command line wasn't a fun way to interact with it (the server).
>>
>> TSVN has changed all that and the two (Subversion + ToroiseSVN) absolutely
>> kick as. So thanks to the TSVN folks for the outstanding and invaluable
>> tool.
>>
>> Ok, now for my question...
>>
>> I've got a file that has undergone changes over several commits. Something
>> like:
>>
>> r50 - file created
>> r51 - file changed
>> r52 - file changed
>> r53 - file changed
>>
>> What I want to do is return to r50 permanently.
>>
>> It's easy to temporarily revert to r50 (I just do an "update to" r50 on the
>> file and, voila, I get r50 back). But that's not a permanent change since
>> any future "update" of development folder in which that file is contained
>> will just return that file back to r53 (the latest "head" of the deveopment
>> folder).
>>
>> So my question is: how do I get r50 back and make it permanent. In other
>> words I want to return the file-contents of r50 and then commit that
>> original pristine file back into the repository as the latest version (r54
>> in this case).
>>
>> This seems like such a common use-case that I'm feeling like sheepish for
>> now seeing how to do this. I tried a merge of r50 into r53 for that
>> particular file and this didn't do it either.
>>
>> Can anybody help?
>>
>> Thanks!
>>
>> - Gary
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
> For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Feb 17 02:15:39 2005

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

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