Subject: | problem while copying between two different depots |
Date: | Sun, 25 Mar 2007 17:16:07 +0200 |
To: | bug-svk [...] rt.cpan.org |
From: | "Nicolas Chuche" <nicolas.chuche [...] barna.be> |
Hello,
I've find a weird problem while copying between two different depots
in one way and just after in the other way (I know what I try to do
seems a bit weird).
I use two depots :
// /home/nc/.svk/local
/remote/ /tmp/remote
I've done a mirror between the two :
% svk info //mirror/remote
Depot Path: //mirror/remote
Revision: 13234
Last Changed Rev.: 13223
Mirrored From: file:///tmp/remote, Rev. 2
I've copied a project from //local to //mirror/remote :
% svk mkdir //mirror/remote/monprojet/ -m 'creation du repertoire de
monprojet'
% svk smerge --baseless --incremental //local/monprojet
//mirror/remote/monprojet
Now, I want to be able to use //mirror/remote/monprojet as the main
source and use push and pull so I delete //local/monprojet :
% svk remove //local/monprojet -m "delete monprojet"
And recopy from //mirror/remote/monprojet to //local/monprojet :
% svk copy -m "creation" //mirror/remote/monprojet/ //local/monprojet
And now the bug part : If I checkout monprojet, push and pull don't work :
% svk co //local/monprojet
% svk push
Filesystem has no item: File not found: revision 13221, path
'/mirror/remote/monprojet'
% svk pull
Syncing file:///tmp/remote
Filesystem has no item: File not found: revision 13221, path
'/mirror/remote/monprojet'
But if I change the name of the local depot path everything works :
% svk co //local/anothername
% cd anothername
% svk push
Auto-merging (0, 13235) /local/anothername to /mirror/remote/monprojet
(base /mirror/remote/monprojet:13223).
===> Auto-merging (0, 13235) /local/anothername to
/mirror/remote/monprojet (base /mirror/remote/monprojet:13223).
Merging back to mirror source file:///tmp/remote.
Empty merge.
% svk pull
Syncing file:///tmp/remote
Auto-merging (13223, 13223) /mirror/remote/monprojet to
/local/anothername (base /mirror/remote/monprojet:13223).
Empty merge.
Syncing //local/anothername(/local/anothername) in
/home/nc/tmp/anothername to 13235.
Hope I'm clear enough and sorry for my english.