equal
deleted
inserted
replaced
43 import json |
43 import json |
44 import os |
44 import os |
45 import random |
45 import random |
46 import sys |
46 import sys |
47 import time |
47 import time |
|
48 |
|
49 from mercurial.i18n import _ |
|
50 from mercurial.node import ( |
|
51 nullid, |
|
52 nullrev, |
|
53 short, |
|
54 ) |
48 from mercurial import ( |
55 from mercurial import ( |
49 cmdutil, |
56 cmdutil, |
50 context, |
57 context, |
51 error, |
58 error, |
52 hg, |
59 hg, |
53 patch, |
60 patch, |
54 scmutil, |
61 scmutil, |
55 util, |
62 util, |
56 ) |
|
57 from mercurial.i18n import _ |
|
58 from mercurial.node import ( |
|
59 nullid, |
|
60 nullrev, |
|
61 short, |
|
62 ) |
63 ) |
63 |
64 |
64 # Note for extension authors: ONLY specify testedwith = 'internal' for |
65 # Note for extension authors: ONLY specify testedwith = 'internal' for |
65 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should |
66 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should |
66 # be specifying the version(s) of Mercurial they are tested with, or |
67 # be specifying the version(s) of Mercurial they are tested with, or |