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

saving time stamps of files with subversion 1.1.1

From: Ph. Marek <philipp.marek_at_bmlv.gv.at>
Date: 2004-11-04 09:24:36 CET

Hello everybody,

here's an updated patch for subversion 1.1.1 which allows subversion to save
and restore the file's modification time.

This was previously documented in issue 1256

- What this patch *should* do

On an import/commit, if a file has the "svn:text-time"-property set (to _any_
value), it gets the file's current mtime set in this property, as a
svn-timestring (yyyy-mm-ddThh:mm:ss.uuuuuuZ).
On update/checkout/export, if a file has this property set *and* the
configuration "use-commit-times" is set, the file's specific property
overrides the commit-date.

- Beware!

This is just a test-patch. I believe it does what I tell above, but may have
It surely is ugly - that is partly because I'm not really familiar with the
subversion code base, and partly (as other developers say) because the
libsvn_wc code is ugly, too :-)

I've included some people who expressed interest on this feature as a bcc: - I
hope that's ok.

Please give me comments - better patches etc. welcome.



To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Thu Nov 4 09:25:30 2004

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.