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