summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny Pfannschmidt <Ronny.Pfannschmidt@gmx.de>2010-08-06 09:34:14 +0200
committerRonny Pfannschmidt <Ronny.Pfannschmidt@gmx.de>2010-08-06 09:34:14 +0200
commit03884794025b32721cfd5470beee0602f03549d8 (patch)
tree227372ee957b09f9feb4bd5a67bb89dfec3e77f8
parent497d8f9a0c3e89811d45321279f625a5968a2073 (diff)
downloadsetuptools-scm-03884794025b32721cfd5470beee0602f03549d8.tar.gz
dont screw up the env of the tag scraper0.8
-rw-r--r--hgdistver.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/hgdistver.py b/hgdistver.py
index 13a7d5e..7b37f25 100644
--- a/hgdistver.py
+++ b/hgdistver.py
@@ -71,13 +71,12 @@ def version_from_hg15_parents(root, cachefile=None):
def version_from_hg_log_with_tags(root, cachefile=None):
if os.path.isdir(os.path.join(root, '.hg')):
node = getoutput('hg id -i', root).strip()
- cmd = r'log -r %s:0 --template "{tags} \n"'
+ cmd = r'hg log -r %s:0 --template "{tags} \n"'
cmd = cmd % node.rstrip('+')
- proc = subprocess.Popen(hg_prefix + cmd,
+ proc = subprocess.Popen(cmd,
cwd=root,
shell=True,
stdout=subprocess.PIPE,
- env={'ew':'why'},
)
dist = -1 # no revs vs one rev is tricky