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

RE: update working copy to old revision --dry-run

From: <tom_at_limepepper.co.uk>
Date: 2006-10-31 17:20:57 CET

Quoting Rob Hubbard <Rob.Hubbard@celoxica.com>:

> Hello Tom,
>
> You might be interested to take a look through the threads starting here:
> <http://svn.haxx.se/users/archive-2006-10/0465.shtml>
> and here:
> <http://svn.haxx.se/users/archive-2006-10/0615.shtml>
> <http://svn.haxx.se/users/archive-2006-10/0634.shtml>

Apologies for not doing my research, in the end I settled for a ;
"/usr/bin/svn merge --dry-run -r 23:31 file:///opt/repos/site1/trunk
/working/site1"

where I got the 23 from the "svn info ." from the working copy, and
the 31 from the revision I want to "update" or revert to.

Tom

>
> Rob.
>
>
>> -----Original Message-----
>> From: tom@limepepper.co.uk [mailto:tom@limepepper.co.uk]
>> Sent: 31 October 2006 11:52
>> To: users@subversion.tigris.org
>> Subject: update working copy to old revision --dry-run
>>
>>
>> Hi,
>>
>> If I want to update my working copy to an earlier revision, is there
>> any way I can see the changes that would happen.
>>
>> "svn update" does not have a --dry-run switch, and "svn status -u"
>> does not allow you to specify a revision number to compare
>> the working
>> copy to.
>>
>> [root@localhost badger]# rpm -qa | grep subversion
>> subversion-1.4.0-1
>>
>> Basically, its for a script to allow a user to revert to an earlier
>> copy of the live code, and to preview what they would be
>> rolling back
>> to.
>>
>> Thanks,
>>
>> Tom H

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 31 17:21:55 2006

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

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