Submitter | phabricator |
---|---|
Date | Feb. 7, 2018, 11:22 a.m. |
Message ID | <b3aabac9387ff38fe2c9972b76066e3a@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/27412/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/dispatch.py b/mercurial/dispatch.py --- a/mercurial/dispatch.py +++ b/mercurial/dispatch.py @@ -477,7 +477,8 @@ if earlyopts: self.badalias = (_("error in definition for alias '%s': %s may " "only be given on the command line") - % (self.name, '/'.join(zip(*earlyopts)[0]))) + % (self.name, '/'.join(pycompat.ziplist(*earlyopts) + [0]))) return self.cmdname = cmd = args.pop(0) self.givenargs = args