Mercurial > public > mercurial-scm > hg
comparison mercurial/sshserver.py @ 7875:553aa0cbeab6
cleanup: drop unused assignments
author | Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
---|---|
date | Mon, 23 Mar 2009 13:13:06 +0100 |
parents | 87abfefafe02 |
children | 496ae1ea4698 |
comparison
equal
deleted
inserted
replaced
7874:d812029cda85 | 7875:553aa0cbeab6 |
---|---|
120 self.fout.write(d) | 120 self.fout.write(d) |
121 | 121 |
122 self.fout.flush() | 122 self.fout.flush() |
123 | 123 |
124 def do_changegroupsubset(self): | 124 def do_changegroupsubset(self): |
125 bases = [] | |
126 heads = [] | |
127 argmap = dict([self.getarg(), self.getarg()]) | 125 argmap = dict([self.getarg(), self.getarg()]) |
128 bases = [bin(n) for n in argmap['bases'].split(' ')] | 126 bases = [bin(n) for n in argmap['bases'].split(' ')] |
129 heads = [bin(n) for n in argmap['heads'].split(' ')] | 127 heads = [bin(n) for n in argmap['heads'].split(' ')] |
130 | 128 |
131 cg = self.repo.changegroupsubset(bases, heads, 'serve') | 129 cg = self.repo.changegroupsubset(bases, heads, 'serve') |