Show More
@@ -1,4 +1,4 b'' | |||||
1 |
import |
|
1 | import os, __builtin__ | |
2 | from mercurial import util |
|
2 | from mercurial import util | |
3 |
|
3 | |||
4 | def lowerwrap(scope, funcname): |
|
4 | def lowerwrap(scope, funcname): |
@@ -1,7 +1,7 b'' | |||||
1 | # perf.py - performance test routines |
|
1 | # perf.py - performance test routines | |
2 | '''helper extension to measure performance''' |
|
2 | '''helper extension to measure performance''' | |
3 |
|
3 | |||
4 |
from mercurial import cmdutil, scmutil, util, |
|
4 | from mercurial import cmdutil, scmutil, util, commands, obsolete | |
5 | from mercurial import repoview, branchmap, merge, copies |
|
5 | from mercurial import repoview, branchmap, merge, copies | |
6 | import time, os, sys |
|
6 | import time, os, sys | |
7 |
|
7 |
@@ -36,7 +36,7 b' A few obvious properties that are not cu' | |||||
36 | ''' |
|
36 | ''' | |
37 |
|
37 | |||
38 | import bisect, collections, json, os, random, time, sys |
|
38 | import bisect, collections, json, os, random, time, sys | |
39 |
from mercurial import cmdutil, context, patch, scmutil, |
|
39 | from mercurial import cmdutil, context, patch, scmutil, util, hg | |
40 | from mercurial.i18n import _ |
|
40 | from mercurial.i18n import _ | |
41 | from mercurial.node import nullrev, nullid |
|
41 | from mercurial.node import nullrev, nullid | |
42 |
|
42 |
@@ -4,7 +4,6 b' sys.path.insert(0, "..")' | |||||
4 | # fall back to pure modules if required C extensions are not available |
|
4 | # fall back to pure modules if required C extensions are not available | |
5 | sys.path.append(os.path.join('..', 'mercurial', 'pure')) |
|
5 | sys.path.append(os.path.join('..', 'mercurial', 'pure')) | |
6 | from mercurial import demandimport; demandimport.enable() |
|
6 | from mercurial import demandimport; demandimport.enable() | |
7 | from mercurial import encoding |
|
|||
8 | from mercurial import minirst |
|
7 | from mercurial import minirst | |
9 | from mercurial.commands import table, globalopts |
|
8 | from mercurial.commands import table, globalopts | |
10 | from mercurial.i18n import gettext, _ |
|
9 | from mercurial.i18n import gettext, _ |
@@ -56,7 +56,6 b' import random' | |||||
56 | import re |
|
56 | import re | |
57 | import threading |
|
57 | import threading | |
58 | import killdaemons as killmod |
|
58 | import killdaemons as killmod | |
59 | import cPickle as pickle |
|
|||
60 | import Queue as queue |
|
59 | import Queue as queue | |
61 |
|
60 | |||
62 | processlock = threading.Lock() |
|
61 | processlock = threading.Lock() |
@@ -5,7 +5,6 b'' | |||||
5 | # that have proven likely to expose bugs and divergent behaviour in |
|
5 | # that have proven likely to expose bugs and divergent behaviour in | |
6 | # different encoding implementations. |
|
6 | # different encoding implementations. | |
7 |
|
7 | |||
8 | from mercurial import parsers |
|
|||
9 | from mercurial import store |
|
8 | from mercurial import store | |
10 | import binascii, itertools, math, os, random, sys, time |
|
9 | import binascii, itertools, math, os, random, sys, time | |
11 | import collections |
|
10 | import collections |
General Comments 0
You need to be logged in to leave comments.
Login now