BUG: svn switch does not update URL keywords?
From: Dominic Anello <danello_at_danky.com>
Date: 2005-02-08 21:48:48 CET
I believe I've found a bug in svn's handling of the URL keyword when
When doing a switch, it appears that svn does not update the $URL$
Reproduction recipe below.
Any thoughts?
-Dominic
$ svn --version
$ svnadmin create repos
$ svn co file://`pwd`/repos wc
$ svn mkdir wc/trunk wc/branches
$ echo -e '$URL$\nText file' > wc/trunk/foo.txt
$ svn add wc/trunk/foo.txt
$ svn ps svn:keywords URL wc/trunk/foo.txt
$ svn ci -m "Initial setup" wc
$ cat wc/trunk/foo.txt
$ svn cp wc/trunk wc/branches/1.1
$ svn ci -m "branch" wc
Committed revision 2.
$ cat wc/branches/1.1/foo.txt
$ svn co file://`pwd`/repos/trunk src
$ cat src/foo.txt
$ svn switch file://`pwd`/repos/branches/1.1 src
$ cat src/foo.txt
$ rm src/foo.txt
$ svn up src
$ cat src/foo.txt
|
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.