D1987: wireprotoserver: remove sshserver.getarg()
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Thu Feb 1 23:12:01 UTC 2018
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
AFAICT the last consumer of this helper method was removed by
https://phab.mercurial-scm.org/rHGd054cc5c77370c345a0c41a002b2ce0aada45389 in 2010.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D1987
AFFECTED FILES
mercurial/wireprotoserver.py
CHANGE DETAILS
diff --git a/mercurial/wireprotoserver.py b/mercurial/wireprotoserver.py
--- a/mercurial/wireprotoserver.py
+++ b/mercurial/wireprotoserver.py
@@ -282,9 +282,6 @@
data[arg] = val
return [data[k] for k in keys]
- def getarg(self, name):
- return self.getargs(name)[0]
-
def getfile(self, fpout):
self.sendresponse('')
count = int(self.fin.readline())
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list