Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-notfound @ 1822:64df4220b349
copy/rename to a removed destination file
When the destination of a copy or rename operation has been
marked for removal, we need to restore it before we overwrite
it with the new content. This also handles the case of
idempotent renames, i.e.
hg rename "a" "b"
hg rename "b" "a"
author | Robin Farine <robin.farine@terminus.org> |
---|---|
date | Tue, 28 Feb 2006 23:47:40 -0800 |
parents | 891b6a262c4b |
children |
line wrap: on
line source
#!/bin/sh hg init echo "Is there an error message when trying to diff non-existing files?" hg diff not found echo "Is there an error message when trying to add non-existing files?" hg add not found