Mercurial > public > mercurial-scm > hg-stable
diff contrib/debugshell.py @ 28476:e28dc6de38e7
debugshell: use absolute_import
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 06 Mar 2016 03:19:08 +0530 |
parents | e4b512bb6386 |
children | 844f72885fb9 |
line wrap: on
line diff
--- a/contrib/debugshell.py Fri Mar 11 10:26:58 2016 +0900 +++ b/contrib/debugshell.py Sun Mar 06 03:19:08 2016 +0530 @@ -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,