Submitter | Gregory Szorc |
---|---|
Date | Nov. 29, 2016, 6:58 a.m. |
Message ID | <05d19f908c3abf62e2ed.1480402698@ubuntu-vm-main> |
Download | mbox | patch |
Permalink | /patch/17775/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/hgweb/protocol.py b/mercurial/hgweb/protocol.py --- a/mercurial/hgweb/protocol.py +++ b/mercurial/hgweb/protocol.py @@ -30,6 +30,8 @@ class webproto(wireproto.abstractserverp self.req = req self.response = '' self.ui = ui + self.name = 'http' + def getargs(self, args): knownargs = self._args() data = {} diff --git a/mercurial/sshserver.py b/mercurial/sshserver.py --- a/mercurial/sshserver.py +++ b/mercurial/sshserver.py @@ -26,6 +26,7 @@ class sshserver(wireproto.abstractserver self.lock = None self.fin = ui.fin self.fout = ui.fout + self.name = 'ssh' hook.redirect(True) ui.fout = repo.ui.fout = ui.ferr