D4455: py3: handle keyword arguments correctly in hgext/acl.py
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Tue Sep 4 16:29:37 UTC 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG3694c9aaf5e4: py3: handle keyword arguments correctly in hgext/acl.py (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D4455?vs=10734&id=10745
REVISION DETAIL
https://phab.mercurial-scm.org/D4455
AFFECTED FILES
hgext/acl.py
CHANGE DETAILS
diff --git a/hgext/acl.py b/hgext/acl.py
--- a/hgext/acl.py
+++ b/hgext/acl.py
@@ -375,9 +375,9 @@
_txnhook(ui, repo, hooktype, node, source, user, **kwargs)
def _pkhook(ui, repo, hooktype, node, source, user, **kwargs):
- if kwargs['namespace'] == 'bookmarks':
- bookmark = kwargs['key']
- ctx = kwargs['new']
+ if kwargs[r'namespace'] == 'bookmarks':
+ bookmark = kwargs[r'key']
+ ctx = kwargs[r'new']
allowbookmarks = buildmatch(ui, None, user, 'acl.allow.bookmarks')
denybookmarks = buildmatch(ui, None, user, 'acl.deny.bookmarks')
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list