mercurial/tags.py
changeset 34033 2d80e078724a
parent 33537 709dde1c5dd5
child 35868 553a98a436cf
equal deleted inserted replaced
34032:47e52f079a57 34033:2d80e078724a
   539             raise error.Abort(_('working copy of .hgtags is changed'),
   539             raise error.Abort(_('working copy of .hgtags is changed'),
   540                              hint=_('please commit .hgtags manually'))
   540                              hint=_('please commit .hgtags manually'))
   541 
   541 
   542     with repo.wlock():
   542     with repo.wlock():
   543         repo.tags() # instantiate the cache
   543         repo.tags() # instantiate the cache
   544         _tag(repo.unfiltered(), names, node, message, local, user, date,
   544         _tag(repo, names, node, message, local, user, date,
   545              editor=editor)
   545              editor=editor)
   546 
   546 
   547 def _tag(repo, names, node, message, local, user, date, extra=None,
   547 def _tag(repo, names, node, message, local, user, date, extra=None,
   548          editor=False):
   548          editor=False):
   549     if isinstance(names, str):
   549     if isinstance(names, str):