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

Re: Reverting a delete

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: Wed, 6 Feb 2008 23:09:58 -0600

On Feb 6, 2008, at 22:20, Troy Curtis Jr wrote:

> On Feb 6, 2008 9:55 PM, Ryan Schmidt wrote:
>
>> On Feb 6, 2008, at 21:42, Troy Curtis Jr wrote:
>>
>>> On Feb 6, 2008 4:23 AM, Jean-Claude Antonio wrote:
>>>
>>>> If you want to keep history you can use:
>>>> svn copy -r (the revision before it was deleted) url_to_path
>>>> url_to_path
>>>
>>> I think you'll also need a peg revision in there:
>>>
>>> svn copy -r<rev> url_to_path@<rev> url_to_path
>>>
>>> Where <rev> is the revision just before the delete was commited.
>>
>> You'd think so, but svn copy doesn't support peg revisions until
>> Subversion 1.5.0.
>>
>> http://subversion.tigris.org/issues/show_bug.cgi?id=2546
>
> Craziness! So does it work without peg revisions as Jean-Claude says?

It does work, in 1.4. Not sure how it'll work in 1.5.

> It seems to go against everything else! How strange!

It does seem crazy. :) I guess that's why they're fixing it.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-07 06:10:36 CET

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.