Show More
@@ -40,11 +40,20 b' nodes that will maximize the number of n' | |||||
40 | classified with it (since all ancestors or descendants will be marked as well). |
|
40 | classified with it (since all ancestors or descendants will be marked as well). | |
41 | """ |
|
41 | """ | |
42 |
|
42 | |||
|
43 | from __future__ import absolute_import | |||
|
44 | ||||
43 | import collections |
|
45 | import collections | |
44 | from node import nullid, nullrev |
|
|||
45 | from i18n import _ |
|
|||
46 | import random |
|
46 | import random | |
47 | import util, dagutil |
|
47 | ||
|
48 | from .i18n import _ | |||
|
49 | from .node import ( | |||
|
50 | nullid, | |||
|
51 | nullrev, | |||
|
52 | ) | |||
|
53 | from . import ( | |||
|
54 | dagutil, | |||
|
55 | util, | |||
|
56 | ) | |||
48 |
|
57 | |||
49 | def _updatesample(dag, nodes, sample, quicksamplesize=0): |
|
58 | def _updatesample(dag, nodes, sample, quicksamplesize=0): | |
50 | """update an existing sample to match the expected size |
|
59 | """update an existing sample to match the expected size |
General Comments 0
You need to be logged in to leave comments.
Login now