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