##// END OF EJS Templates
copy: add experimental support for marking committed copies...
copy: add experimental support for marking committed copies The simplest way I'm aware of to mark a file as copied/moved after committing is this: hg uncommit --keep <src> <dest> # <src> needed for move, but not copy hg mv --after <src> <dest> hg amend This patch teaches `hg copy` a `--at-rev` argument to simplify that into: hg copy --after --at-rev . <src> <dest> In addition to being simpler, it doesn't touch the working copy, so it can easily be used even if the destination file has been modified in the working copy. Differential Revision: https://phab.mercurial-scm.org/D8035
Martin von Zweigbergk -
r44847:9dab3fa6 default
Show More
Name Size Modified Last Commit Author
/ rust / hg-core / src
dirstate
re2
revlog
utils
ancestors.rs Loading ...
dagops.rs Loading ...
dirstate.rs Loading ...
discovery.rs Loading ...
filepatterns.rs Loading ...
lib.rs Loading ...
matchers.rs Loading ...
revlog.rs Loading ...
testing.rs Loading ...
utils.rs Loading ...