Fri Aug 26 01:27:11 UTC 2005 Alberto Bertogli * 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. diff -rN -u old-darcsweb/darcsweb.cgi new-darcsweb/darcsweb.cgi --- old-darcsweb/darcsweb.cgi 2013-07-27 07:30:16.000000000 +0000 +++ new-darcsweb/darcsweb.cgi 2013-07-27 07:30:16.000000000 +0000 @@ -569,16 +569,16 @@ return patch def get_diff(hash): - return run_darcs("diff -u --match 'hash %s'" % hash) + return run_darcs('diff -u --match "hash %s"' % hash) def get_file_diff(hash, fname): - return run_darcs("diff -u --match 'hash %s' '%s'" % (hash, fname)) + return run_darcs('diff -u --match "hash %s" "%s"' % (hash, fname)) def get_file_headdiff(hash, fname): - return run_darcs("diff -u --from-match 'hash %s' '%s'" % (hash, fname)) + return run_darcs('diff -u --from-match "hash %s" "%s"' % (hash, fname)) def get_patch_headdiff(hash): - return run_darcs("diff -u --from-match 'hash %s'" % hash) + return run_darcs('diff -u --from-match "hash %s"' % hash) def get_raw_diff(hash): import gzip