equal
deleted
inserted
replaced
625 |
625 |
626 date: date tuple to use if committing''' |
626 date: date tuple to use if committing''' |
627 |
627 |
628 if not local: |
628 if not local: |
629 m = matchmod.exact(self.root, '', ['.hgtags']) |
629 m = matchmod.exact(self.root, '', ['.hgtags']) |
630 if util.any(self.status(match=m, unknown=True, ignored=True)): |
630 if any(self.status(match=m, unknown=True, ignored=True)): |
631 raise util.Abort(_('working copy of .hgtags is changed'), |
631 raise util.Abort(_('working copy of .hgtags is changed'), |
632 hint=_('please commit .hgtags manually')) |
632 hint=_('please commit .hgtags manually')) |
633 |
633 |
634 self.tags() # instantiate the cache |
634 self.tags() # instantiate the cache |
635 self._tag(names, node, message, local, user, date, editor=editor) |
635 self._tag(names, node, message, local, user, date, editor=editor) |