##// END OF EJS Templates
mercurial: fixed cases of lookup of branches that are exactly 20 character long.
dan -
r822:c136d01d stable
parent child Browse files
Show More
@@ -67,7 +67,7 b' from mercurial.url import httpbasicauthh'
67 67 def get_ctx(repo, ref):
68 68 try:
69 69 ctx = repo[ref]
70 except ProgrammingError:
70 except (ProgrammingError, LookupError, RepoLookupError):
71 71 # we're unable to find the rev using a regular lookup, we fallback
72 72 # to slower, but backward compat revsymbol usage
73 73 ctx = revsymbol(repo, ref)
General Comments 0
You need to be logged in to leave comments. Login now