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

Re: [Issue 2112] svn revert is wasting time on unmodified files

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2004-10-31 15:08:31 CET

> ------- Additional comments from philip@tigris.org Sun Oct 31 07:02:49 -0700 2004 -------
> Look at adm_ops.c:revert_admin_things:1263, the call to svn_wc_text_modified_p.
> The force_comparison flag is deliberately set TRUE which means that a full-text
> comparison is done, which is slower than just checking timestamps. I assume
> this is done so that reverts work even if the timestamps are "wrong".

Wouldn't it be faster to just revert the file, instead of doing a full
byte-for-byte comparison first, if the initial checks are



To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 31 15:08:49 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.