comparison tests/test-rename.out @ 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 91c56c427171
children df8416346bb7
comparison
equal deleted inserted replaced
1815:3e2a2f230296 1822:64df4220b349
250 A d1/bc 250 A d1/bc
251 R d1/b 251 R d1/b
252 # transitive rename --after 252 # transitive rename --after
253 A d1/bc 253 A d1/bc
254 R d1/b 254 R d1/b
255 # idempotent renames (d1/b -> d1/bb followed by d1/bb -> d1/b)
256 M d1/b