diff -r 4a3abb33380a -r 1acaa9f37377 hgext/strip.py --- a/hgext/strip.py Fri Apr 26 00:48:12 2019 +0200 +++ b/hgext/strip.py Fri Jun 14 18:25:14 2019 +0530 @@ -50,6 +50,9 @@ cmdutil.checkunfinished(repo) s = repo.status() if not force: + if len(repo[None].parents()) > 1: + _("outstanding uncommitted merge") #i18 tool detection + raise error.Abort(_("outstanding uncommitted merge"+ excsuffix)) if s.modified or s.added or s.removed or s.deleted: _("local changes found") # i18n tool detection raise error.Abort(_("local changes found" + excsuffix))