Dan Villiom Podlaski Christiansen  committed f728edc

evolve: abort on unknown divergent changeset base

...rather than noisily dying with a KeyError.

  • Participants
  • Parent commits 4979ef2
  • Branches default

Comments (0)

Files changed (1)

File hgext/

         newer = [n for n in newer if n and ctx.node() not in n]
         if newer:
             return base, tuple(ctx._repo[o] for o in newer[0])
-    raise KeyError('Base seem unknown. This case is not handled yet.')
+    raise util.Abort('base of divergent changeset not found',
+                     hint='this case is not yet handled')