From: robk-org Date: Wed, 13 Jun 2007 00:56:55 +0000 (-0700) Subject: make make-version.py exec darcs correctly on windows X-Git-Tag: allmydata-tahoe-0.4.0~49 X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/flags/index.php?a=commitdiff_plain;h=6f9bc9b6474d544b5f425c70610e48cc61ca00ed;p=tahoe-lafs%2Ftahoe-lafs.git make make-version.py exec darcs correctly on windows --- diff --git a/misc/make-version.py b/misc/make-version.py index 36da1717..5213ca0e 100644 --- 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]