You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Carsten Koch <Ca...@icem.com> on 2006/03/14 10:56:57 UTC

svn 1.3 client checks out wrong URL from subversion 1.1 server.

Hi,

when I am checking out a branch using the svn 1.3 command line client
from an subversion 1.1 server, I am getting the trunk (where the
branch originated from) instead:

------------------------------------------------------------------------------
catiahp:cko[22] cd
catiahp:cko[23] rm -rf rl-SrfBlendSU
catiahp:cko[24] svn co -r 17035 -q -N  http://svn/svn/caa/mods/rl-SrfBlendSU
catiahp:cko[25] cd rl-SrfBlendSU
catiahp:cko[26] svn info
Path: .
URL: http://svn/svn/caa/trunk
Repository Root: http://svn/svn
Repository UUID: 54d024c5-8fea-0310-b4bb-d34d78cd36a9
Revision: 17035
Node Kind: directory
Schedule: normal
Last Changed Author: mg
Last Changed Rev: 17028
Last Changed Date: 2006-03-13 13:54:46 +0100 (Mon, 13 Mar 2006)

catiahp:cko[27] svn --version
svn, version 1.3.0 (r17949)
    compiled Feb  8 2006, 13:42:46

Copyright (C) 2000-2005 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
   - handles 'http' scheme
   - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
   - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
   - handles 'file' scheme
------------------------------------------------------------------------------




When I am doing the exact same thing using the svn 1.1 command line client,
it works as expected:

------------------------------------------------------------------------------
smasher:cko[17] cd
smasher:cko[18] rm -rf rl-SrfBlendSU
smasher:cko[19] svn co -r 17035 -q -N  http://svn/svn/caa/mods/rl-SrfBlendSU
smasher:cko[20] cd rl-SrfBlendSU
smasher:cko[21] svn info
Path: .
URL: http://svn/svn/caa/mods/rl-SrfBlendSU
Repository UUID: 54d024c5-8fea-0310-b4bb-d34d78cd36a9
Revision: 17035
Node Kind: directory
Schedule: normal
Last Changed Author: rl
Last Changed Rev: 17035
Last Changed Date: 2006-03-13 14:06:34 +0100 (Mon, 13 Mar 2006)
Properties Last Updated: 2006-03-14 11:46:29 +0100 (Tue, 14 Mar 2006)

smasher:cko[22] svn --version
svn, version 1.1.4 (r13838)
    compiled May 13 2005, 06:29:47

Copyright (C) 2000-2004 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
   - handles 'http' schema
   - handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
   - handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
   - handles 'svn' schema
------------------------------------------------------------------------------




Also, it does not happen when I check out the head revision using the
svn 1.3 client:

------------------------------------------------------------------------------
catiahp:cko[28] cd
catiahp:cko[29] rm -rf rl-SrfBlendSU
catiahp:cko[30] svn co  -q -N  http://svn/svn/caa/mods/rl-SrfBlendSU
catiahp:cko[31] cd rl-SrfBlendSU
catiahp:cko[32] svn info
Path: .
URL: http://svn/svn/caa/mods/rl-SrfBlendSU
Repository Root: http://svn/svn
Repository UUID: 54d024c5-8fea-0310-b4bb-d34d78cd36a9
Revision: 17127
Node Kind: directory
Schedule: normal
Last Changed Author: ur
Last Changed Rev: 17112
Last Changed Date: 2006-03-14 10:38:05 +0100 (Tue, 14 Mar 2006)
------------------------------------------------------------------------------

Additional info: The branches at revision 17035 and revision 17127
have the same name, but are not the same branch. The branch has
been deleted and re-created in between.


Is this a known bug?
Will it go away when I upgrade to a subversion 1.3 server?

Carsten.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn 1.3 client checks out wrong URL from subversion 1.1 server.

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Mar 14, 2006, at 11:56, Carsten Koch wrote:

> when I am checking out a branch using the svn 1.3 command line client
> from an subversion 1.1 server, I am getting the trunk (where the
> branch originated from) instead:
>
> ---------------------------------------------------------------------- 
> --------
> catiahp:cko[22] cd
> catiahp:cko[23] rm -rf rl-SrfBlendSU
> catiahp:cko[24] svn co -r 17035 -q -N  http://svn/svn/caa/mods/rl- 
> SrfBlendSU
> catiahp:cko[25] cd rl-SrfBlendSU
> catiahp:cko[26] svn info
> Path: .
> URL: http://svn/svn/caa/trunk


Presumably, the branch that is now called rl-SrfBlendSU was in fact  
called trunk at revision 17035. You need to use a peg revision.

Presumably, the behavior of peg revisions changed after Subversion  
1.1. The current behavior is not a bug; it is a feature.

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

svn co -r 17035 -q -N  http://svn/svn/caa/mods/rl-SrfBlendSU@17035



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org