Hi.

I attach a patch to add 'svn:use-commit-times' property and 
a perl script to test it.
.
If a file has the property, the timestamp of the file is modified to commit time
when checkout, export, update.

The script is tested on Windows, not on UNIX/Linux. 
(I think it works on UNIX/Linux too)

[[[
   add 'svn:use-commit-times' property. If a file has 'svn:use-commit-times' 
property, 
   the timestamp of the file is modified to commit time.

   * subversion/include/svn_props.h
     (): add the definition of SVN_PROP_USE_COMMIT_TIMES.
     (SVN_PROP_NODE_ALL_PROPS) add SVN_PROP_USE_COMMIT_TIMES to 
SVN_PROP_NODE_ALL_PROPS.

   * subversion/libsvn_wc/workqueue.c
     (run_file_install): set use_commit_times flag to TRUE if 
'svn:use-commit-times' property is set.
   ]]]

-- 
Masaru Tsuchiyama <m.tma...@gmail.com>

Attachment: test.pl
Description: Binary data

Attachment: svn-use-commit-times.patch
Description: Binary data

Reply via email to