cleanup: drop the deprecated 'localrepo.tag' method
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Tue, 02 May 2017 02:03:04 +0200
changeset 32118 bda90664a462
parent 32117 a7e210167c28
child 32119 4c565c1b4747
cleanup: drop the deprecated 'localrepo.tag' method This was deprecated in favor of 'mercurial.tags.tag'. We can now drop it for the future 4.3.
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