D8035: copy: add support for marking committed copies
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Thu Feb 13 23:32:01 UTC 2020
marmoute added a comment.
In D8035#120590 <https://phab.mercurial-scm.org/D8035#120590>, @durin42 wrote:
> In D8035#119861 <https://phab.mercurial-scm.org/D8035#119861>, @marmoute wrote:
>
>> See my comment in D8030 <https://phab.mercurial-scm.org/D8030>, the feature is interresting, but it seems to me that we should implement that through regular amend.
>
> On the one hand that's a thought, but I mostly feel like the functionality belongs in `hg copy` since that's where I'd look for it.
I am not sure I understand what you mean. What I meant was: adding new copies data seems like the jobs of `hg copy` but actually updating the working directory parents seems like a job for `hg amend`. So I would use a combinaison of the two commands to do so.
REPOSITORY
rHG Mercurial
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D8035/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D8035
To: martinvonz, #hg-reviewers, durin42
Cc: durin42, marmoute, mjpieters, mercurial-devel
More information about the Mercurial-devel
mailing list