[PATCH 4 of 4] amend: add -D/--currentdate option

Pulkit Goyal 7895pulkit at gmail.com
Mon Jan 7 09:23:23 EST 2019


On Mon, Jan 7, 2019 at 7:11 PM Yuya Nishihara <yuya at tcha.org> wrote:

> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1546864986 -32400
> #      Mon Jan 07 21:43:06 2019 +0900
> # Node ID e39414322e34d799c2f22df815fae5b7efa839ff
> # Parent  d3181b286250540ecae30e46518c0fbdd43b5bb9
> amend: add -D/--currentdate option
>
> It bumps the date field even if there's no other change. The help text is
> copied from commands.graft().
>
> Unlike graft, --date with --currentdate is disallowed, which I think is
> saner behavior.
>

We should disallow that behavior in graft too IMO.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20190107/6ed29ac3/attachment.html>


More information about the Mercurial-devel mailing list