mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 13:07:56 +00:00
make make-version.py exec darcs correctly on windows
This commit is contained in:
parent
a182edf4de
commit
6f9bc9b647
@ -69,7 +69,10 @@ def update():
|
||||
return 0
|
||||
print "no _darcs/ but no version.py either: how did you get this tree?"
|
||||
return 0
|
||||
cmd = ["darcs", "changes", "--from-tag=^allmydata-tahoe", "--xml-output"]
|
||||
darcs = 'darcs'
|
||||
if os.platform == 'win32':
|
||||
darcs = 'realdarcs'
|
||||
cmd = [darcs, "changes", "--from-tag=^allmydata-tahoe", "--xml-output"]
|
||||
try:
|
||||
p = Popen(cmd, stdout=PIPE)
|
||||
output = p.communicate()[0]
|
||||
|
Loading…
Reference in New Issue
Block a user