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

[PATCH] libsvn-fs-util: Move more macros from BDB and FSFS back-end

From: Bhuvaneswaran Arumugam <bhuvan_at_collab.net>
Date: 2007-06-12 12:24:54 CEST


Please find attached a patch to move few macros and functions from BDB
and FSFS back-end to libsvn-fs-util library.

Move set of macros from BDB and FSFS back-end to libsvn-fs-util library.
In addition, convert a function in FSFS back-end as macro, and move it
to libsvn-fs-util library.

* subversion/libsvn_fs_fs/tree.c
 (already_exists, not_txn): Remove the functions.
 (NOT_FOUND): Remove the macro.
 (fs_change_merge_info, fs_change_node_prop, fs_merge, fs_delete_node,
 fs_revision_link, fs_make_dir, fs_make_file): Use new macros.
* subversion/libsvn_fs_base/tree.c
 (ALREADY_EXISTS, NOT_TXN, NOT_FOUND): Remove the macros.
* subversion/include/private/svn_fs_util.h
 (ALREADY_EXISTS, NOT_TXN, NOT_FOUND): Define new macros.

Suggested by: bhuvan,


Received on Tue Jun 12 12:25:52 2007

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.