diff -r 3b5cd6f13dcc -r 3f0744eeaeaf mercurial/localrepo.py --- a/mercurial/localrepo.py Sat May 16 14:31:03 2015 -0400 +++ b/mercurial/localrepo.py Sat May 16 14:30:07 2015 -0400 @@ -627,7 +627,7 @@ if not local: m = matchmod.exact(self.root, '', ['.hgtags']) - if util.any(self.status(match=m, unknown=True, ignored=True)): + if any(self.status(match=m, unknown=True, ignored=True)): raise util.Abort(_('working copy of .hgtags is changed'), hint=_('please commit .hgtags manually'))