diff mercurial/subrepo.py @ 35660:73f51bdb0fea

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.
author Jordi Guti?rrez Hermoso <jordigh@octave.org>
date Sun, 14 Jan 2018 12:05:28 -0500
parents 38649e2fbf6c
children 1c0ee0befba0
line wrap: on
line diff
--- 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])