[PATCH V2] amend: new extension providing the amend command

Martin von Zweigbergk martinvonz at google.com
Wed Jul 12 13:11:05 EDT 2017


On Wed, Jul 12, 2017 at 12:47 AM, Jun Wu <quark at fb.com> wrote:
> # HG changeset patch
> # User Jun Wu <quark at fb.com>
> # Date 1499831635 25200
> #      Tue Jul 11 20:53:55 2017 -0700
> # Node ID d1092112d98c29fc3e1b4cb700eed4fc48dd7d8e
> # Parent  26e4ba058215e536d3827befbea99ff6203d35f8
> # Available At https://bitbucket.org/quark-zju/hg-draft
> #              hg pull https://bitbucket.org/quark-zju/hg-draft -r d1092112d98c
> amend: new extension providing the amend command

Queued, thanks!

> +    with repo.wlock(), repo.lock():
> +        if not opts.get('logfile'):
> +            opts['message'] = opts.get('message') or repo['.'].description()

Great, looks like fixes another little bug in evolve's version: "hg
amend -m foo -e" (and "hg amend -l file -e") actually works with this
version.


More information about the Mercurial-devel mailing list