Subject: | Subversion: branch at mirror makes wrong files appear on local copy. |
Date: | Fri, 5 Oct 2007 16:28:30 -0300 |
To: | bug-svk [...] rt.cpan.org |
From: | "Alexandre Pereira Nunes" <alexandre.nunes [...] gmail.com> |
Hi,
I'm using SVK for mirroring from a remote subversion system onto my laptop.
I have a //mirror path mirrored from the remote's repository, a //local as a
local branch from //mirror.
If on the remote repository I do this:
svn copy -r300 file:///path/to/repo/whatever/trunk
file:///path/to/repo/whatever/branch1
... assuming -r 300 is a long-ago revision and then sync the local copy
with:
svk sync //mirror/repos
svk smerge //mirror/repos //local/repos
... and then I checkout a copy from the local branch:
svn co file:///home/alex/.svk/local/local/repos/whatever/branch1 branch1
I'll have a branch1 directory that correctly has the files as they were on
revision 300 on the remote server, however, I'll also have all files added
since then to the trunk, i.e. the files that didn't exist at -r 300.
svk --version:
This is svk, version v2.0.1 (using Subversion bindings 1.4.4)
svn --version:
svn, version 1.4.4 (r25188)
perl --version:
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi
uname -a:
Linux polesbook 2.6.22-2-686 #1 SMP Fri Aug 31 00:24:01 UTC 2007 i686
GNU/Linux