Mercurial > hg > mercurial-source
changeset 36325:fe51de51f0f0 stable
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 (2018-01-14) |
parents | a92b9f8e11ba |
children | cfe79bab7b48 |
files | mercurial/subrepo.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/subrepo.py +++ b/mercurial/subrepo.py @@ -1331,6 +1331,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])