# HG changeset patch # User Pierre-Yves David # Date 2017-03-27 14:00:47 # Node ID e6fd7930cf0b37710e379de37b7d87d5c1ea5dc9 # Parent d761ef24d6e15dc91f7131e96bb4fbcae33b4e7c tags: deprecated 'repo.tag' All user are gone. We can now celebrate the removal of some extra line from the 'localrepo' class. diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -650,6 +650,7 @@ class localrepository(object): 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)