Mercurial > evolve
changeset 749:f728edc7fcd1
evolve: abort on unknown divergent changeset base
...rather than noisily dying with a KeyError.
author | Dan Villiom Podlaski Christiansen <dan@cabo.dk> |
---|---|
date | Wed, 31 Jul 2013 19:56:28 +0200 |
parents | 4979ef2c0900 |
children | ddbea2fdee5e |
files | hgext/evolve.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/evolve.py Fri Nov 15 19:14:19 2013 -0500 +++ b/hgext/evolve.py Wed Jul 31 19:56:28 2013 +0200 @@ -1195,7 +1195,8 @@ 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')