Show More
@@ -438,7 +438,7 b' class revlog(object):' | |||||
438 | if l >= 0: |
|
438 | if l >= 0: | |
439 | return l |
|
439 | return l | |
440 |
|
440 | |||
441 |
t = self.revision( |
|
441 | t = self.revision(rev) | |
442 | return len(t) |
|
442 | return len(t) | |
443 | size = rawsize |
|
443 | size = rawsize | |
444 |
|
444 | |||
@@ -1596,7 +1596,7 b' class revlog(object):' | |||||
1596 | fh = ifh |
|
1596 | fh = ifh | |
1597 | else: |
|
1597 | else: | |
1598 | fh = dfh |
|
1598 | fh = dfh | |
1599 |
basetext = self.revision( |
|
1599 | basetext = self.revision(baserev, _df=fh, raw=raw) | |
1600 | btext[0] = mdiff.patch(basetext, delta) |
|
1600 | btext[0] = mdiff.patch(basetext, delta) | |
1601 |
|
1601 | |||
1602 | try: |
|
1602 | try: | |
@@ -1628,7 +1628,7 b' class revlog(object):' | |||||
1628 | fh = ifh |
|
1628 | fh = ifh | |
1629 | else: |
|
1629 | else: | |
1630 | fh = dfh |
|
1630 | fh = dfh | |
1631 |
ptext = self.revision( |
|
1631 | ptext = self.revision(rev, _df=fh) | |
1632 | delta = mdiff.textdiff(ptext, t) |
|
1632 | delta = mdiff.textdiff(ptext, t) | |
1633 | header, data = self.compress(delta) |
|
1633 | header, data = self.compress(delta) | |
1634 | deltalen = len(header) + len(data) |
|
1634 | deltalen = len(header) + len(data) |
@@ -45,15 +45,6 b' New errors are not allowed. Warnings are' | |||||
45 | mercurial/policy.py:49: |
|
45 | mercurial/policy.py:49: | |
46 | > policy = os.environ.get('HGMODULEPOLICY', policy) |
|
46 | > policy = os.environ.get('HGMODULEPOLICY', policy) | |
47 | use encoding.environ instead (py3) |
|
47 | use encoding.environ instead (py3) | |
48 | mercurial/revlog.py:441: |
|
|||
49 | > t = self.revision(self.node(rev)) |
|
|||
50 | don't covert rev to node before passing to revision(nodeorrev) |
|
|||
51 | mercurial/revlog.py:1599: |
|
|||
52 | > basetext = self.revision(self.node(baserev), _df=fh, raw=raw) |
|
|||
53 | don't covert rev to node before passing to revision(nodeorrev) |
|
|||
54 | mercurial/revlog.py:1631: |
|
|||
55 | > ptext = self.revision(self.node(rev), _df=fh) |
|
|||
56 | don't covert rev to node before passing to revision(nodeorrev) |
|
|||
57 | Skipping mercurial/statprof.py it has no-che?k-code (glob) |
|
48 | Skipping mercurial/statprof.py it has no-che?k-code (glob) | |
58 | mercurial/unionrepo.py:93: |
|
49 | mercurial/unionrepo.py:93: | |
59 | > return mdiff.textdiff(self.revision(self.node(rev1)), |
|
50 | > return mdiff.textdiff(self.revision(self.node(rev1)), |
General Comments 0
You need to be logged in to leave comments.
Login now