Mercurial > hg > mercurial-source
diff contrib/debugshell.py @ 29147:e28dc6de38e7
debugshell: use absolute_import
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 06 Mar 2016 03:19:08 +0530 (2016-03-05) |
parents | e4b512bb6386 |
children | 844f72885fb9 |
line wrap: on
line diff
--- a/contrib/debugshell.py +++ b/contrib/debugshell.py @@ -1,9 +1,10 @@ # debugshell extension """a python shell with repo, changelog & manifest objects""" -import sys +from __future__ import absolute_import +import code import mercurial -import code +import sys from mercurial import ( cmdutil, demandimport,