Mercurial > hgrepos > DevTools > mercurial-extensions
changeset 151:11b39af77153 timestamps-start
Process opts through pycompat.byteskwargs as all other current extensions do
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Sat, 25 Aug 2018 22:37:43 +0200 |
| parents | f195b4704726 |
| children | 609aa7efd051 f287e23cb3ad |
| files | extensions/revinfo.py |
| diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/extensions/revinfo.py Sat Aug 25 19:01:37 2018 +0200 +++ b/extensions/revinfo.py Sat Aug 25 22:37:43 2018 +0200 @@ -14,7 +14,7 @@ from mercurial.i18n import _ -from mercurial import cmdutil, scmutil, util, error, archival +from mercurial import cmdutil, scmutil, util, error, archival, pycompat cmdtable = {} @@ -78,6 +78,7 @@ writes into ".hg_archival.txt". The "path" info is an extra item. """ + opts = pycompat.byteskwargs(opts) if opts.get("amend") and opts.get("rev"): raise error.Abort(_("cannot use -r/--rev together with --amend"))
