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

Re: question about fs/delta.c

From: Jim Blandy <jimb_at_savonarola.red-bean.com>
Date: 2000-09-23 18:23:12 CEST

Karl Fogel <kfogel@galois.collab.net> writes:

> Jim, this may be a philosophical question: If two trees in the
> repository have _no_ differences, should svn_fs_dir_delta() ever even
> call replace_root()?
>
> In CVS, this can happen when someone calls "cvs commit -f" (as, in
> fact, I did myself a couple of hours ago, to create a new version with
> a corrected log message, even though there were no changes other than
> the new log message).

Well, calling replace_root and then close_directory should be a no-op.
So for the svn_delta_edit_fns_t interface, it's a question of
efficiency, not correctness.

`cvs commit -f' is a separate issue. You get a new filesystem version
if and only if you call svn_fs_commit_txn. It doesn't matter how much
or little editing you do.
Received on Sat Oct 21 14:36:08 2006

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