Discussion:
File timestamps?
Bo Berglund
2018-01-10 12:02:30 UTC
Permalink
I notice that if I do a svn co on a project all files will get a
timestamp as of the co time.
But if I do a svn export of the same project the files retain their
original timestamps (the time of commit of the file).
Is there some argument that can be applied to svn co to tell it to
keep the timestamps?
--
Bo Berglund
Developer in Sweden
Johan Corveleyn
2018-01-10 12:08:14 UTC
Permalink
Post by Bo Berglund
I notice that if I do a svn co on a project all files will get a
timestamp as of the co time.
But if I do a svn export of the same project the files retain their
original timestamps (the time of commit of the file).
Is there some argument that can be applied to svn co to tell it to
keep the timestamps?
There is a client-side configuration option for that: use-commit-times=true.
See the "use-commit-times" option in this section of the book:
http://svnbook.red-bean.com/nightly/en/svn.advanced.confarea.html#svn.advanced.confarea.opts.config
--
Johan
Bo Berglund
2018-01-10 12:24:11 UTC
Permalink
On Wed, 10 Jan 2018 13:08:14 +0100, Johan Corveleyn
Post by Johan Corveleyn
Post by Bo Berglund
Is there some argument that can be applied to svn co to tell it to
keep the timestamps?
There is a client-side configuration option for that: use-commit-times=true.
http://svnbook.red-bean.com/nightly/en/svn.advanced.confarea.html#svn.advanced.confarea.opts.config
Thanks,
I enabled the setting in my Subversion\config file and did a new
checkout of a module. Now I am getting the repo timestamps!
--
Bo Berglund
Developer in Sweden
Continue reading on narkive:
Loading...