Re: replacing "svn copy"'ed dirs
From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-10-01 16:02:20 CEST
SLOGEN <jensen@slog.dk> writes:
> The merge solution does a worse job than the "del; copy" solution. I
Ahh, I understand. If you want the history preserved using today's
And yes, it looks like you found a real bug! The working copy is
$ svn rm iota
$ svn cp file:///home/sussman/scratch/repos/A/B/E/alpha iota
$ svn st
$ svn ci -m "replacing iota with new file by same name"
But it fails for directory replacement:
$ svn rm A/D/G
$ svn cp file:///home/sussman/scratch/repos/A/B/E A/D/G
Notice that 'svn cp' syntax is biting us here. Because A/D/G still
But if I run
$ rm -rf A/D/G
Then I get the behavior I want:
$ svn cp file:///home/sussman/scratch/repos/A/B/E A/D/G
$ svn st
Unfortunately, our commit-driver seems to have a bug here. It tries
$ svn ci -m "A/D/G is now a copy of A/B/E"
Maybe we should file this bug. (Bugs?)
---------------------------------------------------------------------
|
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.