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

[PATCH] Detect working copy file changes in post-commit using timestamp

From: Ivan Zhakov <chemodax_at_gmail.com>
Date: 2006-03-16 12:57:16 CET

"Peter N. Lundblad" <peter@famlundblad.se> writes:
> An alternative might be to fetch the timestamp of the working file
> when copying it in the svn_wc_transmit_text_deltas function and use
> that timestamp in the entries file in the post-commit processing.

Peter,
I've implemented your idea. But I propose store timestamp in temporary
base file timestmap instead of entries file. Please look to attached
patch.

[[
Detect working copy file changes in post-commit using timestamp

Suggested by: lundblad
                      philip

* subversion/libsvn_wc/adm_crawler.c
  (svn_wc_transmit_text_deltas): Set working copy file's timestamp to
temporary base file.
* subversion/libsvn_wc/log.c:
  (log_do_committed): Check working copy files changes only if
timestamps differ from
  temporary base file timestamp.
]]

--
Ivan Zhakov


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

Received on Thu Mar 16 12:58:09 2006

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.