Mercurial > hgsubversion
comparison hgsubversion/stupid.py @ 1434:0a6b3da6d34c
RevMap: move lastpulled from SVNMeta down into RevMap
There was a conceptual cycle present between the revmap and the meta
object caused by this layering, which is nicely resolved by moving the
lastpulled information down into the revmap.
RevMap no longer makes use of meta outside the constructor, which is
great progress.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Sun, 05 Jun 2016 21:18:23 -0400 |
parents | 5ddb35c31097 |
children | cf79525f507c |
comparison
equal
deleted
inserted
replaced
1433:b429e97666fd | 1434:0a6b3da6d34c |
---|---|
706 # The nullrev check might not be necessary in theory but svn < | 706 # The nullrev check might not be necessary in theory but svn < |
707 # 1.7 failed to diff branch creation so the diff_branchrev() | 707 # 1.7 failed to diff branch creation so the diff_branchrev() |
708 # path does not support this case with svn >= 1.7. We can fix | 708 # path does not support this case with svn >= 1.7. We can fix |
709 # it, or we can force the existing fetch_branchrev() path. Do | 709 # it, or we can force the existing fetch_branchrev() path. Do |
710 # the latter for now. | 710 # the latter for now. |
711 incremental = (meta.firstpulled > 0 and | 711 incremental = (meta.revmap.firstpulled > 0 and |
712 parentctx.rev() != node.nullrev and | 712 parentctx.rev() != node.nullrev and |
713 not firstrun) | 713 not firstrun) |
714 | 714 |
715 if incremental: | 715 if incremental: |
716 try: | 716 try: |