Show More
@@ -1333,7 +1333,7 def node_(repo, subset, x): | |||
|
1333 | 1333 | else: |
|
1334 | 1334 | rn = None |
|
1335 | 1335 | try: |
|
1336 | pm = repo.changelog._partialmatch(n) | |
|
1336 | pm = scmutil.resolvehexnodeidprefix(repo, n) | |
|
1337 | 1337 | if pm is not None: |
|
1338 | 1338 | rn = repo.changelog.rev(pm) |
|
1339 | 1339 | except LookupError: |
@@ -1874,9 +1874,9 Test short 'ff...' hash collision | |||
|
1874 | 1874 | $ hg debugrevspec '0:wdir() & fffb' |
|
1875 | 1875 | abort: 00changelog.i@fffb: ambiguous identifier! |
|
1876 | 1876 | [255] |
|
1877 |
BROKEN should be '2' (node lookup uses unfiltered repo |
|
|
1877 | BROKEN should be '2' (node lookup uses unfiltered repo) | |
|
1878 | 1878 | $ hg debugrevspec '0:wdir() & id(fffb)' |
|
1879 | 2 | |
|
1879 | BROKEN should be '2' (node lookup uses unfiltered repo) | |
|
1880 | 1880 | $ hg debugrevspec '0:wdir() & ffff8' |
|
1881 | 1881 | 4 |
|
1882 | 1882 | $ hg debugrevspec '0:wdir() & fffff' |
General Comments 0
You need to be logged in to leave comments.
Login now