# HG changeset patch # User Martin von Zweigbergk # Date 1560793224 25200 # Node ID 3a1988e915f963b004b8244505a8a7541c336ebe # Parent cf445a212b9c1f99f5c47402fa75a2d5ffcc56e8 strip: remove unused excsuffix argument from checklocalchanges() It was only used by mq, and mq now has its own copy of the function. Differential Revision: https://phab.mercurial-scm.org/D6534 diff -r cf445a212b9c -r 3a1988e915f9 hgext/strip.py --- a/hgext/strip.py Mon Jun 17 10:38:50 2019 -0700 +++ b/hgext/strip.py Mon Jun 17 10:40:24 2019 -0700 @@ -46,19 +46,19 @@ inclsubs.append(s) return inclsubs -def checklocalchanges(repo, force=False, excsuffix=''): +def checklocalchanges(repo, force=False): 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)) + raise error.Abort(_("outstanding uncommitted merge")) 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)) + raise error.Abort(_("local changes found")) if checksubstate(repo): _("local changed subrepos found") # i18n tool detection - raise error.Abort(_("local changed subrepos found" + excsuffix)) + raise error.Abort(_("local changed subrepos found")) return s def _findupdatetarget(repo, nodes):