Show More
@@ -6,7 +6,8 | |||||
6 | # GNU General Public License version 2 or any later version. |
|
6 | # GNU General Public License version 2 or any later version. | |
7 |
|
7 | |||
8 | import re |
|
8 | import re | |
9 |
import parser, util, error, discovery, hbisect |
|
9 | import parser, util, error, discovery, hbisect | |
|
10 | import node as nodemod | |||
10 | import bookmarks as bookmarksmod |
|
11 | import bookmarks as bookmarksmod | |
11 | import match as matchmod |
|
12 | import match as matchmod | |
12 | from i18n import _ |
|
13 | from i18n import _ | |
@@ -1092,7 +1093,7 def formatspec(expr, *args): | |||||
1092 | parse(arg) # make sure syntax errors are confined |
|
1093 | parse(arg) # make sure syntax errors are confined | |
1093 | return '(%s)' % arg |
|
1094 | return '(%s)' % arg | |
1094 | elif c == 'n': |
|
1095 | elif c == 'n': | |
1095 | return quote(node.hex(arg)) |
|
1096 | return quote(nodemod.hex(arg)) | |
1096 | elif c == 'b': |
|
1097 | elif c == 'b': | |
1097 | return quote(arg.branch()) |
|
1098 | return quote(arg.branch()) | |
1098 |
|
1099 |
General Comments 0
You need to be logged in to leave comments.
Login now