mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-01 23:30:53 +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
|
return 0
|
||||||
print "no _darcs/ but no version.py either: how did you get this tree?"
|
print "no _darcs/ but no version.py either: how did you get this tree?"
|
||||||
return 0
|
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:
|
try:
|
||||||
p = Popen(cmd, stdout=PIPE)
|
p = Popen(cmd, stdout=PIPE)
|
||||||
output = p.communicate()[0]
|
output = p.communicate()[0]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user