[Rest2web-develop] timestamps, svn and modtime
Brought to you by:
mjfoord
From: Andrew S. <str...@as...> - 2008-09-29 20:10:04
|
I'm in the process of updating my websites to use rest2web, but I'm hitting one problem -- I keep my files under subversion, which seems unable to maintain a file's "mtime" ( http://subversion.tigris.org/issues/show_bug.cgi?id=1256 ). Thus, when I check out the source for my site with svn, the modtimes are all screwed up. Does anyone have any solutions? Of course, I could simply remove the <% modtime %> from my template, but there must be a better way. The simplest idea I have at the moment is Python code in my template that calls svn and asks for the svn commit time. This could fail gracefully to the file systems mtime if the file was not under svn. Thoughts? Andrew |