Show More
@@ -490,10 +490,10 class svn_source(converter_source): | |||
|
490 | 490 | self._fetch_revisions(revnum, stop) |
|
491 | 491 | if rev not in self.commits: |
|
492 | 492 | raise util.Abort(_('svn: revision %s not found') % revnum) |
|
493 | commit = self.commits[rev] | |
|
493 | revcommit = self.commits[rev] | |
|
494 | 494 | # caller caches the result, so free it here to release memory |
|
495 | 495 | del self.commits[rev] |
|
496 | return commit | |
|
496 | return revcommit | |
|
497 | 497 | |
|
498 | 498 | def checkrevformat(self, revstr, mapname='splicemap'): |
|
499 | 499 | """ fails if revision format does not match the correct format""" |
@@ -5593,7 +5593,7 def summary(ui, repo, **opts): | |||
|
5593 | 5593 | ui.write(_('commit: %s\n') % t.strip()) |
|
5594 | 5594 | |
|
5595 | 5595 | # all ancestors of branch heads - all ancestors of parent = new csets |
|
5596 | new = len(repo.changelog.findmissing([ctx.node() for ctx in parents], | |
|
5596 | new = len(repo.changelog.findmissing([pctx.node() for pctx in parents], | |
|
5597 | 5597 | bheads)) |
|
5598 | 5598 | |
|
5599 | 5599 | if new == 0: |
@@ -735,9 +735,9 class basefilectx(object): | |||
|
735 | 735 | return True |
|
736 | 736 | |
|
737 | 737 | def parents(self): |
|
738 | p = self._path | |
|
738 | _path = self._path | |
|
739 | 739 | fl = self._filelog |
|
740 | pl = [(p, n, fl) for n in self._filelog.parents(self._filenode)] | |
|
740 | pl = [(_path, n, fl) for n in self._filelog.parents(self._filenode)] | |
|
741 | 741 | |
|
742 | 742 | r = self._filelog.renamed(self._filenode) |
|
743 | 743 | if r: |
@@ -676,8 +676,7 class localrepository(object): | |||
|
676 | 676 | if not self._tagscache.tagslist: |
|
677 | 677 | l = [] |
|
678 | 678 | for t, n in self.tags().iteritems(): |
|
679 |
|
|
|
680 | l.append((r, t, n)) | |
|
679 | l.append((self.changelog.rev(n), t, n)) | |
|
681 | 680 | self._tagscache.tagslist = [(t, n) for r, t, n in sorted(l)] |
|
682 | 681 | |
|
683 | 682 | return self._tagscache.tagslist |
@@ -249,7 +249,7 class wirepeer(peer.peerrepository): | |||
|
249 | 249 | yield {'nodes': encodelist(nodes)}, f |
|
250 | 250 | d = f.value |
|
251 | 251 | try: |
|
252 |
yield [bool(int( |
|
|
252 | yield [bool(int(b)) for b in d] | |
|
253 | 253 | except ValueError: |
|
254 | 254 | self._abort(error.ResponseError(_("unexpected response:"), d)) |
|
255 | 255 |
General Comments 0
You need to be logged in to leave comments.
Login now