Show More
@@ -375,9 +375,9 b' def hook(ui, repo, hooktype, node=None, ' | |||||
375 | _txnhook(ui, repo, hooktype, node, source, user, **kwargs) |
|
375 | _txnhook(ui, repo, hooktype, node, source, user, **kwargs) | |
376 |
|
376 | |||
377 | def _pkhook(ui, repo, hooktype, node, source, user, **kwargs): |
|
377 | def _pkhook(ui, repo, hooktype, node, source, user, **kwargs): | |
378 | if kwargs['namespace'] == 'bookmarks': |
|
378 | if kwargs[r'namespace'] == 'bookmarks': | |
379 | bookmark = kwargs['key'] |
|
379 | bookmark = kwargs[r'key'] | |
380 | ctx = kwargs['new'] |
|
380 | ctx = kwargs[r'new'] | |
381 | allowbookmarks = buildmatch(ui, None, user, 'acl.allow.bookmarks') |
|
381 | allowbookmarks = buildmatch(ui, None, user, 'acl.allow.bookmarks') | |
382 | denybookmarks = buildmatch(ui, None, user, 'acl.deny.bookmarks') |
|
382 | denybookmarks = buildmatch(ui, None, user, 'acl.deny.bookmarks') | |
383 |
|
383 |
General Comments 0
You need to be logged in to leave comments.
Login now