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

Re: svn commit: r27745 - in trunk/subversion: include libsvn_fs_base libsvn_fs_base/bdb

From: Vlad Georgescu <vgeorgescu_at_gmail.com>
Date: 2007-11-10 12:39:37 CET

cmpilato@tigris.org wrote:
> Author: cmpilato
> Date: Fri Nov 9 12:59:25 2007
> New Revision: 27745
>
> Log:
> Add new 'node-origins' table, which is an index mapping node IDs ->
> origin node revision IDs, for BDB-backed repositories.
> [...]

> * subversion/libsvn_fs_base/fs.c
> (cleanup_fs): Cleanup the `node-origins' table.
> (open_databases): Open (or create) the `node-origins' table.
> (base_hotcopy): Copy the `node-origins' table.
> [...]

This is in base_hotcopy():

> @@ -1085,6 +1094,8 @@
> "locks", pagesize, pool));
> SVN_ERR(copy_db_file_safely(src_path, dest_path,
> "lock-tokens", pagesize, pool));
> + SVN_ERR(copy_db_file_safely(src_path, dest_path,
> + "node-origins", pagesize, pool));
>

If you hotcopy a repo that doesn't yet have a node-origins table, won't
this cause an error?

-- 
Vlad
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 10 12:40:02 2007

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