##// END OF EJS Templates
revlog: catch more specific exception in shortest()...
Yuya Nishihara -
r39856:7a9e2d85 default
parent child Browse files
Show More
@@ -1325,7 +1325,7 b' class revlog(object):'
1325 def isvalid(prefix):
1325 def isvalid(prefix):
1326 try:
1326 try:
1327 node = self._partialmatch(prefix)
1327 node = self._partialmatch(prefix)
1328 except error.RevlogError:
1328 except error.AmbiguousPrefixLookupError:
1329 return False
1329 return False
1330 except error.WdirUnsupported:
1330 except error.WdirUnsupported:
1331 # single 'ff...' match
1331 # single 'ff...' match
General Comments 0
You need to be logged in to leave comments. Login now