Mercurial > hg
comparison mercurial/copies.py @ 25924:cfc24c22454e
copies: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 00:41:13 -0700 |
parents | 6ac860f700b5 |
children | 38f92d12357c |
comparison
equal
deleted
inserted
replaced
25923:a027a0813b44 | 25924:cfc24c22454e |
---|---|
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. |