equal
deleted
inserted
replaced
294 |
294 |
295 user: name of user to use if committing |
295 user: name of user to use if committing |
296 |
296 |
297 date: date tuple to use if committing''' |
297 date: date tuple to use if committing''' |
298 |
298 |
299 for x in self.status()[:5]: |
299 if not local: |
300 if '.hgtags' in x: |
300 for x in self.status()[:5]: |
301 raise util.Abort(_('working copy of .hgtags is changed ' |
301 if '.hgtags' in x: |
302 '(please commit .hgtags manually)')) |
302 raise util.Abort(_('working copy of .hgtags is changed ' |
|
303 '(please commit .hgtags manually)')) |
303 |
304 |
304 self.tags() # instantiate the cache |
305 self.tags() # instantiate the cache |
305 self._tag(names, node, message, local, user, date) |
306 self._tag(names, node, message, local, user, date) |
306 |
307 |
307 def tags(self): |
308 def tags(self): |