From: Zooko O'Whielacronx Date: Fri, 29 Jun 2007 21:22:50 +0000 (-0700) Subject: make-version.py invokes darcs as "darcs" instead of "realdarcs" X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/FOOURL?a=commitdiff_plain;h=cc87bdf8c3e7ea3f7c5ed38ba6b0b20d40bdb38c;p=tahoe-lafs%2Ftahoe-lafs.git make-version.py invokes darcs as "darcs" instead of "realdarcs" Some other people might use the official Windows build of darcs, and people who use my cygwin wrapper for darcs will be compatible with this patch as long as they use the latest version of the wrapper. --- diff --git a/misc/make-version.py b/misc/make-version.py index 41d221a1..36da1717 100644 --- a/misc/make-version.py +++ b/misc/make-version.py @@ -69,10 +69,7 @@ def update(): return 0 print "no _darcs/ but no version.py either: how did you get this tree?" return 0 - darcs = 'darcs' - if sys.platform == 'win32': - darcs = 'realdarcs' - cmd = [darcs, "changes", "--from-tag=^allmydata-tahoe", "--xml-output"] + cmd = ["darcs", "changes", "--from-tag=^allmydata-tahoe", "--xml-output"] try: p = Popen(cmd, stdout=PIPE) output = p.communicate()[0]