Fixed a path problem when running on Windows
Wed May 16 09:46:25 UTC 2007 Jonathan Buchanan <jonathan.buchanan@gmail.com>
* Fixed a path problem when running on Windows
Repositories in subdirectories have backslashes in their path when running on Windows, which results in bad URLS - replaced these with forward slashes.
diff -rN -u old-darcsweb/darcsweb.cgi new-darcsweb/darcsweb.cgi
--- old-darcsweb/darcsweb.cgi 2013-07-18 20:18:52.000000000 +0000
+++ new-darcsweb/darcsweb.cgi 2013-07-18 20:18:52.000000000 +0000
@@ -2227,6 +2227,7 @@
entries.sort()
for name in entries:
+ name = name.replace('\\', '/')
if name.startswith('.'):
continue
fulldir = c.multidir + '/' + name