Change some calls to darcs so it runs properly under Windows.
Fri Aug 26 01:27:11 UTC 2005 Alberto Bertogli <albertogli@telpin.com.ar>
* Change some calls to darcs so it runs properly under Windows.
This small changes makes darcsweb run properly under Windows.
Thanks to Gordon Heydon who reported the bug and tested the fix.
{
hunk ./darcsweb.cgi 572
- return run_darcs("diff -u --match 'hash %s'" % hash)
+ return run_darcs('diff -u --match "hash %s"' % hash)
hunk ./darcsweb.cgi 575
- return run_darcs("diff -u --match 'hash %s' '%s'" % (hash, fname))
+ return run_darcs('diff -u --match "hash %s" "%s"' % (hash, fname))
hunk ./darcsweb.cgi 578
- return run_darcs("diff -u --from-match 'hash %s' '%s'" % (hash, fname))
+ return run_darcs('diff -u --from-match "hash %s" "%s"' % (hash, fname))
hunk ./darcsweb.cgi 581
- return run_darcs("diff -u --from-match 'hash %s'" % hash)
+ return run_darcs('diff -u --from-match "hash %s"' % hash)
}