D1074: branch: add a --rev flag to change branch name of given revisions
dlax (Denis Laxalde)
phabricator at mercurial-scm.org
Sun Oct 15 05:03:03 EDT 2017
dlax added inline comments.
INLINE COMMENTS
> cmdutil.py:749
> + if len(heads) < 1:
> + raise error.Abort(_("cannot change branch in betwen the stack"))
> +
typo: betwen
Also, I'm not sure "between" is appropriate here. Maybe "cannot change branch in the middle of a stack"?
> cmdutil.py:770
> +
> + ui.debug("changing branch of '%s' from '%s' to '%s'" % (
> + hex(ctx.node()), oldbranch, label))
nit: with `%` on the continuation line and alignment with opening parenthesis, it'd be more readable.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D1074
To: pulkit, #hg-reviewers
Cc: dlax, mercurial-devel
More information about the Mercurial-devel
mailing list