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

[PATCH] svn_fs_text_changed

From: Chia-liang Kao <clkao_at_clkao.org>
Date: 2003-11-25 11:41:20 CET

Avoid dir_delta from calling apply_textdelta that is actually noop with
ignore_ancestry is on. This makes many things work better in the case
of two mutually merged branches, since editors now know the source and
target stream are the same without having to construct the fulltext
from the noop txdelta. svn diff the two branches will no longer show a
lot of empty diffs.

Eventually there could be a function to eliminate the identical data in
the 'strings' for the mutually merged branches by using the same key to
free up some pages.

* include/svn_fs.h
  (svn_fs_text_changed): New.

* libsvn_fs/tree.c
  (svn_fs_text_changed): New.
  (svn_fs_contents_changed): Fix the error message typo.

* libsvn_repos/delta.c
  (delta_files): Use svn_fs_text_changed instead of
  svn_fs_contents_changed with ignore_ancestry is on.

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

Received on Tue Nov 25 11:42:47 2003

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.