[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] add 'svn:use-commit-times' property

From: Masaru Tsuchiyama <m.tmatma_at_gmail.com>
Date: Mon, 22 Jul 2013 23:51:56 +0900

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.tmatma_at_gmail.com>


  • application/octet-stream attachment: test.pl
Received on 2013-07-22 16:52:37 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.