Friday May 19, 2006 at 16:08
Subject: New script: svnfixtime
Keywords:
Releases
Posted by: Sean Reifschneider
We have a big repository for all our documentation. Evelyn relies
heavily on the timestamps of the files in her checked out copy. However,
recently her checkout got munged and we had to check out a fresh copy.
Sadly, this means that all the files older than when we did the checkout
were dated at the checkout time. So, I wrote a script to fix it...
I call it "svnfixtime", and it's available at ftp://ftp.tummy.com/pub/tummy/svnfixtime/.
It uses the "svn info" command to pull the last changed time of the file in
the SVN repository, and then it checks that against the version in the
file-system. If they differ, it will do a "touch" to fix the time on the
file.
And there was much rejoicing...
(Post Reply)
(Post Reply)