You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ben Bucksch <be...@beonex.com> on 2005/09/10 21:01:03 UTC
Bug: Checkout of old revision of moved/renamed branch
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
while step 3 works
With svn 1.1.4 from fink, step 2 works, while step 3 gives:
svn: URL '.../foo/baz' doesn't exist
So, the behaviour is completely inversed.
Expected result:
I would argue that the behaviour of svn 1.1 (from fink) is correct,
although I don't mind both ways to work. Step 2 not working is
definitely broken, though - at revision 50, it was foo/bar/, not foo/baz/.
Severity:
I had quite some difficulty with a coworker the other day when I was
instructing him (he's new to svn) via Jabber (me using svn 1.1 from fink
and him using svn 1.2.x on Windows).
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Bug: Checkout of old revision of moved/renamed branch
Posted by Ben Collins-Sussman <su...@collab.net>.
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