>>>>> Markus Neteler <[EMAIL PROTECTED]> writes:

 > Hi, I have backported relevant patches from SVN-HEAD and want to
 > package GRASS 6.3.0RC4 (which is hopefully the last candidate).

 > Unfortunately (as we know), SVN does not preserve the time stamp
 > when downloading a file. So all files have a time stamp from 2008.

 > Any idea how to restore the last change as time stamp?

        I'm not familiar with SVN at all, but may rsync(1) be of any use
        here?  E. g.:

$ ls -gGl old-version/
total 2
-rw-r--r-- 1 2 Jan  8 21:34 did-change
-rw-r--r-- 1 2 Jan  8 21:34 did-not-change
$ LC_ALL=C ls -gGl new-version.from-svn/
total 2
-rw-r--r-- 1 3 Jan  8 21:36 did-change
-rw-r--r-- 1 2 Jan  8 21:36 did-not-change
$ rsync -rlt old-version/ new-version/ 
$ rsync -crl new-version.from-svn/ new-version/ 
$ ls -gGl new-version
итого 2
-rw-r--r-- 1 3 Jan  8 21:37 did-change
-rw-r--r-- 1 2 Jan  8 21:34 did-not-change
$ 

        This way, m-time will be set either to the one of the earlier
        version (if the file didn't change), or to the current time (if
        it did.)

        You'll need a previous version (`old-version' in the example
        above) unpacked from a tarball, though.

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to