diff -r a7e210167c28 -r bda90664a462 mercurial/localrepo.py --- a/mercurial/localrepo.py Tue May 02 02:01:47 2017 +0200 +++ b/mercurial/localrepo.py Tue May 02 02:03:04 2017 +0200 @@ -639,11 +639,6 @@ """ return hook.hook(self.ui, self, name, throw, **args) - def tag(self, names, node, message, local, user, date, editor=False): - self.ui.deprecwarn("use 'tagsmod.tag' instead of 'repo.tag'", '4.2') - tagsmod.tag(self, names, node, message, local, user, date, - editor=editor) - @filteredpropertycache def _tagscache(self): '''Returns a tagscache object that contains various tags related