equal
deleted
inserted
replaced
4 # Logilab SA <contact@logilab.fr> |
4 # Logilab SA <contact@logilab.fr> |
5 # |
5 # |
6 # This software may be used and distributed according to the terms of the |
6 # This software may be used and distributed according to the terms of the |
7 # GNU General Public License version 2 or any later version. |
7 # GNU General Public License version 2 or any later version. |
8 |
8 |
|
9 from __future__ import absolute_import |
|
10 |
|
11 import copy |
9 import heapq |
12 import heapq |
10 import copy |
|
11 import error |
|
12 import phases |
|
13 import util |
|
14 import obsolete |
|
15 import struct |
13 import struct |
16 import tags as tagsmod |
14 |
17 from node import nullrev |
15 from .node import nullrev |
|
16 from . import ( |
|
17 error, |
|
18 obsolete, |
|
19 phases, |
|
20 tags as tagsmod, |
|
21 util, |
|
22 ) |
18 |
23 |
19 def hideablerevs(repo): |
24 def hideablerevs(repo): |
20 """Revisions candidates to be hidden |
25 """Revisions candidates to be hidden |
21 |
26 |
22 This is a standalone function to help extensions to wrap it.""" |
27 This is a standalone function to help extensions to wrap it.""" |