mercurial/context.py
changeset 38589 91618801d5c3
parent 38582 7f4bf8110150
child 38600 a936d1368fc5
--- a/mercurial/context.py	Fri Jul 06 21:49:25 2018 +0900
+++ b/mercurial/context.py	Fri Jul 06 16:45:44 2018 -0700
@@ -432,6 +432,10 @@
                     raise
                 except (TypeError, LookupError):
                     pass
+            else:
+                raise error.ProgrammingError(
+                        "unsupported changeid '%s' of type %s" %
+                        (changeid, type(changeid)))
 
             # lookup failed
         except (error.FilteredIndexError, error.FilteredLookupError):