Mercurial > hg-stable
changeset 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 | 821d8a5ab4ff |
children | 1c0ee0befba0 |
files | mercurial/subrepo.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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])