Mercurial > public > mercurial-scm > hg-stable
comparison contrib/debugshell.py @ 19794:cccc44304b2c
debugshell: appease pyflakes
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 23 Sep 2013 14:28:01 -0700 |
parents | 51799a965446 |
children | 8b5c039f2b4f |
comparison
equal
deleted
inserted
replaced
19793:6fb1b7728719 | 19794:cccc44304b2c |
---|---|
18 def ipdb(ui, repo, msg, **opts): | 18 def ipdb(ui, repo, msg, **opts): |
19 import IPython | 19 import IPython |
20 | 20 |
21 cl = repo.changelog | 21 cl = repo.changelog |
22 mf = repo.manifest | 22 mf = repo.manifest |
23 cl, mf # use variables to appease pyflakes | |
23 | 24 |
24 IPython.embed() | 25 IPython.embed() |
25 | 26 |
26 def debugshell(ui, repo, **opts): | 27 def debugshell(ui, repo, **opts): |
27 bannermsg = "loaded repo : %s\n" \ | 28 bannermsg = "loaded repo : %s\n" \ |