Mercurial > public > mercurial-scm > hg
diff mercurial/sshserver.py @ 20903:8d477543882b
wireproto: introduce an abstractserverproto class
sshserver and webproto now inherit from an abstractserverproto class. This class
is introduced for documentation purpose.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 28 Mar 2014 11:10:33 -0700 |
parents | 46db0ec640f3 |
children | d3775db748a0 |
line wrap: on
line diff
--- a/mercurial/sshserver.py Fri Mar 28 11:37:42 2014 -0700 +++ b/mercurial/sshserver.py Fri Mar 28 11:10:33 2014 -0700 @@ -9,7 +9,7 @@ import util, hook, wireproto, changegroup import os, sys -class sshserver(object): +class sshserver(wireproto.abstractserverproto): def __init__(self, ui, repo): self.ui = ui self.repo = repo