Michael Sperber wrote:
> Lele Gaifax <[EMAIL PROTECTED]> writes:
> 
>> About your first patch: under which condition you found a MOVE on a
>> file and the destination is already versioned? I ask, because I bet
>> most of the systems would fail to carry on a similar action, so maybe
>> the fix should be applied at an upper layer.
> 
> I could do this in Mercurial, and Tailor tried to replicate the action.
> It makes semantic sense, so I would argue that Subversion is deficient
> here.

Monotone also don't allow "mtn mv foo bar", if "bar" is an existing file.

Example:
mkdir /tmp/test
cd /tmp/test
mtn --db=/tmp/test.db db init
mtn --db=/tmp/test.db -b test setup .
touch foo bar
mtn --db=/tmp/test.db add foo bar
mtn --db=/tmp/test.db commit -m 'init'
mtn --db=/tmp/test.db mv foo bar

Error output:
  mtn: misuse: destination bar/ is not a directory

-- 
Henry N.
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to