##// END OF EJS Templates
directaccess: use resolvehexnodeidprefix() instead of _partialmatch()...
Martin von Zweigbergk -
r37885:69de3c3d default
parent child Browse files
Show More
@@ -1541,7 +1541,6 b' def _getrevsfromsymbols(repo, symbols):'
1541 unficl = unfi.changelog
1541 unficl = unfi.changelog
1542 cl = repo.changelog
1542 cl = repo.changelog
1543 tiprev = len(unficl)
1543 tiprev = len(unficl)
1544 pmatch = unficl._partialmatch
1545 allowrevnums = repo.ui.configbool('experimental', 'directaccess.revnums')
1544 allowrevnums = repo.ui.configbool('experimental', 'directaccess.revnums')
1546 for s in symbols:
1545 for s in symbols:
1547 try:
1546 try:
@@ -1557,7 +1556,7 b' def _getrevsfromsymbols(repo, symbols):'
1557 pass
1556 pass
1558
1557
1559 try:
1558 try:
1560 s = pmatch(s)
1559 s = resolvehexnodeidprefix(unfi, s)
1561 except (error.LookupError, error.WdirUnsupported):
1560 except (error.LookupError, error.WdirUnsupported):
1562 s = None
1561 s = None
1563
1562
General Comments 0
You need to be logged in to leave comments. Login now