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

repository access question

From: Tom Karzes <tkarzes_at_pixelworks.com>
Date: 2007-03-22 01:24:23 CET

I have a question about accessing old directory revisions through
a URL path that has changed and no longer exists in the latest
revision. For example, suppose I have a directory in the repository:


Now suppose at some point I rename "c" to "c2":

    svn move http://a/b/c http://a/b/c2

Now I want to check out the old http://a/b/c/d/, but I want to use
the old URL (for example, I'm rolling back to an earlier revision
and I don't know how/where things have been moved). Suppose
revision 123 predates this change, so I want to do:

    svn co -r 123 http://a/b/c/d my_d

The problem is that Subversion looks at the *present* version of
"b", sees no "c" under it, and complains that it doesn't exist in the
latest revision. Well that may be true, but that's not what I'm trying
to ask. I want it to apply the -r option to the entire URL, not just
the leaf.

Does anyone know if there's a way to do this? At the moment,
the only way I know of is to check out all of http://a/b with -r 123,
which will include the old "c" and all of its contents, but this is
way way more than I want, and I also can't put "d" where I want
it - I have to first check out "b", then copy "d".

Note that instead of renaming "c", I might also have deleted it.

Any help would be appreciated.

Tom Karzes

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 22 01:24:43 2007

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.