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