Mercurial > public > mercurial-scm > hg-stable
diff hgext/extdiff.py @ 28970:4f86c3bed63b
py3: make extdiff use absolute_import
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 17 Apr 2016 02:15:05 +0530 |
parents | 174069440929 |
children | 67b180c0e263 |
line wrap: on
line diff
--- a/hgext/extdiff.py Sun Apr 17 02:10:55 2016 +0530 +++ b/hgext/extdiff.py Sun Apr 17 02:15:05 2016 +0530 @@ -60,11 +60,28 @@ pretty fast (at least faster than having to compare the entire tree). ''' +from __future__ import absolute_import + +import os +import re +import shlex +import shutil +import tempfile from mercurial.i18n import _ -from mercurial.node import short, nullid -from mercurial import cmdutil, scmutil, util, commands, encoding, filemerge -from mercurial import archival, error -import os, shlex, shutil, tempfile, re +from mercurial.node import ( + nullid, + short, +) +from mercurial import ( + archival, + cmdutil, + commands, + encoding, + error, + filemerge, + scmutil, + util, +) cmdtable = {} command = cmdutil.command(cmdtable)