equal
deleted
inserted
replaced
3 # Copyright 2008 Matt Mackall <mpm@selenic.com> |
3 # Copyright 2008 Matt Mackall <mpm@selenic.com> |
4 # |
4 # |
5 # This software may be used and distributed according to the terms of the |
5 # This software may be used and distributed according to the terms of the |
6 # GNU General Public License version 2 or any later version. |
6 # GNU General Public License version 2 or any later version. |
7 |
7 |
8 import util, pathutil |
8 from __future__ import absolute_import |
|
9 |
9 import heapq |
10 import heapq |
|
11 |
|
12 from . import ( |
|
13 pathutil, |
|
14 util, |
|
15 ) |
10 |
16 |
11 def _findlimit(repo, a, b): |
17 def _findlimit(repo, a, b): |
12 """ |
18 """ |
13 Find the last revision that needs to be checked to ensure that a full |
19 Find the last revision that needs to be checked to ensure that a full |
14 transitive closure for file copies can be properly calculated. |
20 transitive closure for file copies can be properly calculated. |