Show More
@@ -44,7 +44,7 b' python hook' | |||
|
44 | 44 | > import os, time |
|
45 | 45 | > from mercurial import ui, localrepo |
|
46 | 46 | > def rejecthook(ui, repo, hooktype, node, **opts): |
|
47 | > ui.write('hook %s\\n' % repo['tip'].hex()) | |
|
47 | > ui.write(b'hook %s\\n' % repo[b'tip'].hex()) | |
|
48 | 48 | > # create the notify file so caller knows we're running |
|
49 | 49 | > fpath = os.path.join('$d', 'notify') |
|
50 | 50 | > f = open(fpath, 'w') |
General Comments 0
You need to be logged in to leave comments.
Login now