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

Unexpected behaviour when checking out a copy at an invalid revision

From: Fergus Slorach <fergus.slorach_at_methodics.com>
Date: Sun, 11 May 2014 19:10:47 +1200

Checking out a copied directory at a revision prior to the copy results in
a checkout of the data before the copy. I would expect this to fail in the
same way that attempting to update to an invalid revision fails.
Is this the intended behaviour? If so, shouldn't there be some message that
your working copy is using a different location than requested?

> svn copy trunk mybranch -m 'copy test'
Committed revision 2

> svn co mybranch -r1 mybranch

> svn info mybranch
Relative URL: ^trunk

Checking out the branch at a valid revision then attempting to update to the
earlier revision results in an error:

  svn: E160005: Target path 'mybranch' does not exist

(I was attempting to checkout the revision given by 'Last Changed Rev' from
'svn info' on a child of a copied directory - it points at a revision before
  the copy, but that's a different discussion)

Thanks,

fergus
Received on 2014-05-12 07:20:24 CEST

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.