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

Re: Bug: Checkout of old revision of moved/renamed branch

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-09-11 00:05:47 CEST

On Sep 10, 2005, at 4:01 PM, Ben Bucksch wrote:

> Reproduction:
> 1. svn mv .../foo/bar .../foo/baz
> (commited revision 100)
> 2. svn co -r 50 .../foo/bar/
> 3. svn co -r 50 .../foo/baz/
>
> Actual result:
> With svn 1.2.6 (from svk Mac package), step 2 gives:
> svn: REPORT request failed on '/my/repo/!svn/bc/421/foo/bar'
> svn: '/my/repo/!svn/bc/421/foo/bar' path not found

There's no bug here. Read about peg revisions in chapter 7 of the book:

    http://svnbook.red-bean.com/nightly/en/svn.advanced.pegrevs.html

What you're typing in step 2 is equivalent to

    svn co -r50 .../foo/bar@421

And of course, that path doesn't exist in r421. What you really want
to type is

    svn co .../foo/bar@50

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Sep 11 00:07:30 2005

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.