##// END OF EJS Templates
amend: fix copy records handling (issue3410)...
amend: fix copy records handling (issue3410) Messing with the dirstate before the intermediate commit seems error prone. Instead, commit and recompute the copies with copies.pathcopies(), then use that with commitctx(). Since copies.pathcopies() does not support file replacement very well, the whole .renamed() condition in samefile() is removed and the "file replacement caused by differing copy source" effect is discarded. Test shamelessly stolen from Idan Kamara <idankk86@gmail.com>
Patrick Mezard -
r16553:9224cc2e stable
Show More
Name Size Modified Last Commit Author
/ contrib / hgsh
Makefile Loading ...
hgsh.c Loading ...