Patchwork D1987: wireprotoserver: remove sshserver.getarg()

login
register
mail settings
Submitter phabricator
Date Feb. 1, 2018, 11:12 p.m.
Message ID <differential-rev-PHID-DREV-6t456ydvu5ez243lv77c-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/27178/
State Superseded
Headers show

Comments

phabricator - Feb. 1, 2018, 11:12 p.m.
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




To: indygreg, #hg-reviewers
Cc: mercurial-devel

Patch

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())