Mercurial > hg
comparison relnotes/next @ 44364:8be0c63535b5
copy: add option to unmark file as copied
To unmark a file as copied, the user currently has to do this:
hg forget <dest>
hg add <dest>
The new command simplifies that to:
hg copy --forget <dest>
That's not a very big improvement, but I'm planning to also teach `hg
copy [--forget]` a `--at-rev` argument for marking/unmarking copies
after commit (usually with `--at-rev .`).
Differential Revision: https://phab.mercurial-scm.org/D8029
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 20 Dec 2019 15:50:13 -0800 |
parents | 9c9cfecd4600 |
children | 7c4b98a4e536 |
comparison
equal
deleted
inserted
replaced
44363:f7459da77f23 | 44364:8be0c63535b5 |
---|---|
9 precedence, so what used to be marked '@' still is. | 9 precedence, so what used to be marked '@' still is. |
10 | 10 |
11 * New `conflictlocal()` and `conflictother()` revsets return the | 11 * New `conflictlocal()` and `conflictother()` revsets return the |
12 commits that are being merged, when there are conflicts. Also works | 12 commits that are being merged, when there are conflicts. Also works |
13 for conflicts caused by e.g. `hg graft`. | 13 for conflicts caused by e.g. `hg graft`. |
14 | |
15 * `hg copy --forget` can be used to unmark a file as copied. | |
14 | 16 |
15 | 17 |
16 == New Experimental Features == | 18 == New Experimental Features == |
17 | 19 |
18 | 20 |