summaryrefslogtreecommitdiff
path: root/contrib/hg-to-git/hg-to-git.py
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2009-08-03 16:41:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-08-04 22:20:45 (GMT)
commitb0c051d1a0939ed0013d359065b3afaebe3a717f (patch)
tree79df9cdf96328e844d0c463507dbcc5c7818abb9 /contrib/hg-to-git/hg-to-git.py
parent69931b718307ad5adf85292b03e46d822156840a (diff)
downloadgit-b0c051d1a0939ed0013d359065b3afaebe3a717f.zip
git-b0c051d1a0939ed0013d359065b3afaebe3a717f.tar.gz
git-b0c051d1a0939ed0013d359065b3afaebe3a717f.tar.bz2
hg-to-git: don't import the unused popen2 module
Importing the popen2 module in Python-2.6 results in the "DeprecationWarning: The popen2 module is deprecated. Use the subprocess module." message. The module itself isn't used in fact, so just removing it solves the problem. Signed-off-by: Miklos Vajna <vmiklos@frugalware.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/hg-to-git/hg-to-git.py')
-rwxr-xr-xcontrib/hg-to-git/hg-to-git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/hg-to-git/hg-to-git.py b/contrib/hg-to-git/hg-to-git.py
index 7b03204..2a6839d 100755
--- a/contrib/hg-to-git/hg-to-git.py
+++ b/contrib/hg-to-git/hg-to-git.py
@@ -20,7 +20,7 @@
"""
import os, os.path, sys
-import tempfile, popen2, pickle, getopt
+import tempfile, pickle, getopt
import re
# Maps hg version -> git version