]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
make make-version.py exec darcs correctly on windows
authorrobk-org <robk-org@allmydata.com>
Wed, 13 Jun 2007 00:56:55 +0000 (17:56 -0700)
committerrobk-org <robk-org@allmydata.com>
Wed, 13 Jun 2007 00:56:55 +0000 (17:56 -0700)
misc/make-version.py

index 36da171786837c85d0b1b4cd5ecf8bc80c434066..5213ca0ebc73ec13052c8809eb88057e216abae4 100644 (file)
@@ -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]