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.
This commit is contained in:
Zooko O'Whielacronx 2007-06-29 14:22:50 -07:00
parent a13ffe2e93
commit cc87bdf8c3

View File

@ -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]