svnsubrepo: decorate dirty method with annotatesubrepoerror
This function invokes svn commands which can error out in any number
of ways, so it's helpful to know in which subrepo this error happens.
--- a/mercurial/subrepo.py Tue Jan 16 22:14:33 2018 +0900
+++ b/mercurial/subrepo.py Sun Jan 14 12:05:28 2018 -0500
@@ -1327,6 +1327,7 @@
return True, True, bool(missing)
return bool(changes), False, bool(missing)
+ @annotatesubrepoerror
def dirty(self, ignoreupdate=False, missing=False):
wcchanged = self._wcchanged()
changed = wcchanged[0] or (missing and wcchanged[2])