648 replacing code that is expected to call a hook. |
648 replacing code that is expected to call a hook. |
649 """ |
649 """ |
650 return hook.hook(self.ui, self, name, throw, **args) |
650 return hook.hook(self.ui, self, name, throw, **args) |
651 |
651 |
652 def tag(self, names, node, message, local, user, date, editor=False): |
652 def tag(self, names, node, message, local, user, date, editor=False): |
|
653 self.ui.deprecwarn("use 'tagsmod.tag' instead of 'repo.tag'", '4.2') |
653 tagsmod.tag(self, names, node, message, local, user, date, |
654 tagsmod.tag(self, names, node, message, local, user, date, |
654 editor=editor) |
655 editor=editor) |
655 |
656 |
656 @filteredpropertycache |
657 @filteredpropertycache |
657 def _tagscache(self): |
658 def _tagscache(self): |