##// END OF EJS Templates
context: handle namespaces in revsymbol()...
Martin von Zweigbergk -
r37547:45667439 default
parent child Browse files
Show More
@@ -490,6 +490,14 b' def revsymbol(repo, symbol):'
490 except (TypeError, LookupError):
490 except (TypeError, LookupError):
491 pass
491 pass
492
492
493 # look up bookmarks through the name interface
494 try:
495 node = repo.names.singlenode(repo, symbol)
496 rev = repo.changelog.rev(node)
497 return repo[rev]
498 except KeyError:
499 pass
500
493 return repo[symbol]
501 return repo[symbol]
494
502
495 except error.WdirUnsupported:
503 except error.WdirUnsupported:
General Comments 0
You need to be logged in to leave comments. Login now