equal
deleted
inserted
replaced
4 from __future__ import absolute_import |
4 from __future__ import absolute_import |
5 import code |
5 import code |
6 import mercurial |
6 import mercurial |
7 import sys |
7 import sys |
8 from mercurial import ( |
8 from mercurial import ( |
9 cmdutil, |
|
10 demandimport, |
9 demandimport, |
|
10 registrar, |
11 ) |
11 ) |
12 |
12 |
13 cmdtable = {} |
13 cmdtable = {} |
14 command = cmdutil.command(cmdtable) |
14 command = registrar.command(cmdtable) |
15 |
15 |
16 def pdb(ui, repo, msg, **opts): |
16 def pdb(ui, repo, msg, **opts): |
17 objects = { |
17 objects = { |
18 'mercurial': mercurial, |
18 'mercurial': mercurial, |
19 'repo': repo, |
19 'repo': repo, |