[PATCH] amend: preserve phase of amended revision (issue3602)
Augie Fackler
raf at durin42.com
Fri Aug 31 15:21:52 CDT 2012
On Aug 31, 2012, at 3:08 PM, Idan Kamara wrote:
>>> A quick test reveals that graft doesn't copy phase info too.
>>
>> But graft is about "copying the diff of another changeset as new commit".
>> It is the same kind of operation than a plain new commit. So, graft honor
>> current phase config *by design*.
>
> Unless an explicit phase is specified when grafting, it seems to me like it
> should use the phase of the source commit. Same thing when rebasing,
> which already seems to preserve the phase.
>
> I don't see a reason for --amend to behave differently.
I agree with Idan, I don't see why graft or rebase should change the phase of a commit.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20120831/4c210ebb/attachment.html>
More information about the Mercurial-devel
mailing list