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

RE: deleted directories cannot be retrieved in old revision?

From: Olavo <olavo.lira_at_gemalto.com>
Date: Wed, 4 Feb 2009 21:13:33 +0100

Thank you all!

Olavo Lira

-----Original Message-----
From: Reedick, Andrew [mailto:jr9445_at_ATT.COM]
Sent: Wednesday, February 04, 2009 3:49 PM
To: Lira Olavo; users_at_subversion.tigris.org
Subject: RE: deleted directories cannot be retrieved in old revision?

> -----Original Message-----
> From: Olavo [mailto:olavo.lira_at_gemalto.com]
> Sent: Wednesday, February 04, 2009 10:11 AM
> To: users_at_subversion.tigris.org
> Subject: deleted directories cannot be retrieved in old revision?
>
> Hi,
>
> I'm having a strange behavior (at least in my point of view). I
> try
> the command bellow and I receive the following error.
>
> checkout https://sagan/svn/projects/Quotations/trunk/3Q-2008/220 -r
> 5220
> --depth=infinity --force
> Bad URL passed to RA layer
> svn: URL 'https://sagan/svn/projects/Quotations/trunk/3Q-2008/220'
> doesn't
> exist
>
> The point is that in one revision after 5220, a user deleted
> several
> directories and now I want to retrieve this information.
> What am I doing wrong?
>
> The server is in version 1.5.1.
>

You use merging to put the directories back. If you just want to look at
the deleted dirs you need to read up on Peg Revisions:
http://svnbook.red-bean.com/en/1.5/svn-book.html#svn.advanced.pegrevs

For your checkout command you just need to add "@5220" to the end of
your url:
checkout -r5220
https://sagan/svn/projects/Quotations/trunk/3Q-2008/220@5220

The "@5220" rolls the repository back in time and displays the directory
structure at the time of 5220. If you don't use "@5220" then "-r 5220"
tries to find the directory in the current (HEAD) directory structure.

*****

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential, proprietary, and/or
privileged material. Any review, retransmission, dissemination or other use
of, or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from all
computers. GA621

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1103824

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].

  • application/x-pkcs7-signature attachment: smime.p7s
Received on 2009-02-04 21:14:45 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.