--- a/mercurial/subrepo.py Mon Jan 09 16:02:56 2017 +0900
+++ b/mercurial/subrepo.py Tue Jan 10 09:32:27 2017 +0100
@@ -464,12 +464,12 @@
return _("uncommitted changes in subrepository '%s'"
) % subrelpath(self)
- def bailifchanged(self, ignoreupdate=False):
+ def bailifchanged(self, ignoreupdate=False, hint=None):
"""raise Abort if subrepository is ``dirty()``
"""
dirtyreason = self.dirtyreason(ignoreupdate=ignoreupdate)
if dirtyreason:
- raise error.Abort(dirtyreason)
+ raise error.Abort(dirtyreason, hint=hint)
def basestate(self):
"""current working directory base state, disregarding .hgsubstate