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

[PATCH][merge-tracking]Doc to justify the existence of txn_mergeinfo

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2006-09-27 10:32:36 CEST

Hi All,
Atlast I understood the need of txn_mergeinfo.
Attaching the patch/log that documents the same.

With regards
Kamesh Jayachandran

[[[
Patch by: Kamesh Jayachandran <kamesh@collab.net>

We cache 'txn_mergeinfo' separately to avoid looping 'paths_changed' of the txn.

* subversion/libsvn_fs_fs/fs_fs.c
  (global):
   Doc to justify the existence of 'txn_mergeinfo' cache.
]]]

Index: subversion/libsvn_fs_fs/fs_fs.c
===================================================================
--- subversion/libsvn_fs_fs/fs_fs.c (revision 21673)
+++ subversion/libsvn_fs_fs/fs_fs.c (working copy)
@@ -74,6 +74,9 @@
 #define PATH_TXN_PROPS "props" /* Transaction properties */
 #define PATH_NEXT_IDS "next-ids" /* Next temporary ID assignments */
 #define PATH_REV "rev" /* Proto rev file */
+/* We keep a separate mergeinfo hash of
+ * target_path(char*) Vs mergeinfo(svn_string_t*) to avoid looping through
+ * paths_changed hash of the txn to get mergeinfo. */
 #define PATH_TXN_MERGEINFO "mergeinfo" /* Transaction mergeinfo props */
 #define PATH_PREFIX_NODE "node." /* Prefix for node filename */
 #define PATH_EXT_TXN ".txn" /* Extension of txn dir */

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 27 10:32:21 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.