From 6f9bc9b6474d544b5f425c70610e48cc61ca00ed Mon Sep 17 00:00:00 2001 From: robk-org Date: Tue, 12 Jun 2007 17:56:55 -0700 Subject: [PATCH] make make-version.py exec darcs correctly on windows --- misc/make-version.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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] -- 2.45.2