Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/sshserver.py @ 3223:53e843840349
Whitespace/Tab cleanup
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sun, 01 Oct 2006 19:26:33 +0200 |
parents | 345bac2bc4ec |
children | 0b450267cf47 |
comparison
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()) |