42 gboptsmap = getattr(wireproto, 'gboptsmap', None) |
42 gboptsmap = getattr(wireproto, 'gboptsmap', None) |
43 except (ImportError, AttributeError): |
43 except (ImportError, AttributeError): |
44 gboptslist = gboptsmap = None |
44 gboptslist = gboptsmap = None |
45 |
45 |
46 |
46 |
47 from mercurial import base85 |
|
48 from mercurial import bookmarks |
47 from mercurial import bookmarks |
49 from mercurial import cmdutil |
48 from mercurial import cmdutil |
50 from mercurial import commands |
49 from mercurial import commands |
51 from mercurial import context |
50 from mercurial import context |
52 from mercurial import copies |
51 from mercurial import copies |
58 from mercurial import lock as lockmod |
57 from mercurial import lock as lockmod |
59 from mercurial import merge |
58 from mercurial import merge |
60 from mercurial import node |
59 from mercurial import node |
61 from mercurial import phases |
60 from mercurial import phases |
62 from mercurial import patch |
61 from mercurial import patch |
63 from mercurial import pushkey |
|
64 from mercurial import revset |
62 from mercurial import revset |
65 from mercurial import scmutil |
63 from mercurial import scmutil |
66 from mercurial import templatekw |
64 from mercurial import templatekw |
67 from mercurial.i18n import _ |
65 from mercurial.i18n import _ |
68 from mercurial.commands import walkopts, commitopts, commitopts2, mergetoolopts |
66 from mercurial.commands import walkopts, commitopts, commitopts2, mergetoolopts |
69 from mercurial.node import nullid |
67 from mercurial.node import nullid |
70 from mercurial import wireproto |
68 from mercurial import wireproto |
71 from mercurial import localrepo |
69 from mercurial import localrepo |
72 from mercurial.hgweb import hgweb_mod |
70 from mercurial.hgweb import hgweb_mod |
73 from mercurial import bundle2 |
|
74 |
71 |
75 cmdtable = {} |
72 cmdtable = {} |
76 command = cmdutil.command(cmdtable) |
73 command = cmdutil.command(cmdtable) |
77 |
74 |
78 _pack = struct.pack |
75 _pack = struct.pack |