mercurial/sshserver.py
changeset 3223 53e843840349
parent 2859 345bac2bc4ec
child 3446 0b450267cf47
equal deleted inserted replaced
3222:a5603ad915c5 3223:53e843840349
   122         self.respond(str(r))
   122         self.respond(str(r))
   123 
   123 
   124     def client_url(self):
   124     def client_url(self):
   125         client = os.environ.get('SSH_CLIENT', '').split(' ', 1)[0]
   125         client = os.environ.get('SSH_CLIENT', '').split(' ', 1)[0]
   126         return 'remote:ssh:' + client
   126         return 'remote:ssh:' + client
   127         
   127 
   128     def do_unbundle(self):
   128     def do_unbundle(self):
   129         their_heads = self.getarg()[1].split()
   129         their_heads = self.getarg()[1].split()
   130 
   130 
   131         def check_heads():
   131         def check_heads():
   132             heads = map(hex, self.repo.heads())
   132             heads = map(hex, self.repo.heads())