Mercurial > hg-stable
changeset 22678:bf0b5bfc24b9
tag: properly abort if an unknown or ignored .hgtags is present
This was a regression introduced by 4faaa0535ea7 in 2008.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 02 Oct 2014 18:37:12 -0500 |
parents | cbb4414a5603 |
children | aa8ecc199892 |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Wed Oct 01 12:50:18 2014 -0700 +++ b/mercurial/localrepo.py Thu Oct 02 18:37:12 2014 -0500 @@ -574,7 +574,7 @@ date: date tuple to use if committing''' if not local: - for x in self.status()[:5]: + for x in self.status(unknown=True, ignored=True): if '.hgtags' in x: raise util.Abort(_('working copy of .hgtags is changed ' '(please commit .hgtags manually)'))