D1632: py3: handle keyword arguments correctly in help.py

2017-12-09 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG7f410793c04d: py3: handle keyword arguments correctly in 
help.py (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1632?vs=4299=4312

REVISION DETAIL
  https://phab.mercurial-scm.org/D1632

AFFECTED FILES
  mercurial/help.py

CHANGE DETAILS

diff --git a/mercurial/help.py b/mercurial/help.py
--- a/mercurial/help.py
+++ b/mercurial/help.py
@@ -453,7 +453,7 @@
 rst.append(' :%s: %s\n' % (f, h[f]))
 
 ex = opts.get
-anyopts = (ex('keyword') or not (ex('command') or ex('extension')))
+anyopts = (ex(r'keyword') or not (ex(r'command') or ex(r'extension')))
 if not name and anyopts:
 exts = listexts(_('enabled extensions:'), extensions.enabled())
 if exts:



To: pulkit, #hg-reviewers, durin42
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D1632: py3: handle keyword arguments correctly in help.py

2017-12-09 Thread pulkit (Pulkit Goyal)
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1632

AFFECTED FILES
  mercurial/help.py

CHANGE DETAILS

diff --git a/mercurial/help.py b/mercurial/help.py
--- a/mercurial/help.py
+++ b/mercurial/help.py
@@ -453,7 +453,7 @@
 rst.append(' :%s: %s\n' % (f, h[f]))
 
 ex = opts.get
-anyopts = (ex('keyword') or not (ex('command') or ex('extension')))
+anyopts = (ex(r'keyword') or not (ex(r'command') or ex(r'extension')))
 if not name and anyopts:
 exts = listexts(_('enabled extensions:'), extensions.enabled())
 if exts:



To: pulkit, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel