mercurial/hgk_python3.patch
Petr Stodulka 53899096c8 Prepare Mercurial for Py2 & Py3
- separate lang into the own subpackage as files are shared between
  mercurial for both pythons
- extensions are now prepared and working only under Python2
- the core mercurial is prepared in mercurial-python3 subpackage providing
  the hg3 executable
- Relates: #1737931
2019-10-20 14:29:50 +02:00

14 lines
396 B
Diff

diff --git a/hgext/hgk.py b/hgext/hgk.py
index 3da626e..61239e8 100644
--- a/hgext/hgk.py
+++ b/hgext/hgk.py
@@ -335,7 +335,7 @@ def revtree(ui, args, repo, full="tree", maxnr=0, parents=False):
('[OPTION]... REV...'))
def revlist(ui, repo, *revs, **opts):
"""print revisions"""
- if opts['header']:
+ if opts[u'header']:
full = "commit"
else:
full = None