projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a182edf
)
make make-version.py exec darcs correctly on windows
author
robk-org
<robk-org@allmydata.com>
Wed, 13 Jun 2007 00:56:55 +0000
(17:56 -0700)
committer
robk-org
<robk-org@allmydata.com>
Wed, 13 Jun 2007 00:56:55 +0000
(17:56 -0700)
misc/make-version.py
patch
|
blob
|
history
diff --git
a/misc/make-version.py
b/misc/make-version.py
index 36da171786837c85d0b1b4cd5ecf8bc80c434066..5213ca0ebc73ec13052c8809eb88057e216abae4 100644
(file)
--- a/
misc/make-version.py
+++ b/
misc/make-version.py
@@
-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]