# HG changeset patch # User Pierre-Yves David # Date 1493683384 -7200 # Node ID bda90664a46200485ed03553e3166a19c5f3d30e # Parent a7e210167c2804e7cc74c5acdc55d3f6a3a41986 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. 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