summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Miklos Vajna <vmiklos@frugalware.org>2009-08-03 18:41:34 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-08-04 15:20:45 -0700
commitb0c051d1a0939ed0013d359065b3afaebe3a717f (patch)
tree79df9cdf96328e844d0c463507dbcc5c7818abb9 /contrib
parentsend-email: remove debug trace (diff)
downloadtgif-b0c051d1a0939ed0013d359065b3afaebe3a717f.tar.xz
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')
-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 7b03204ed1..2a6839d81e 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