On Sat, 10 Nov 2007, Vlad Georgescu wrote:
> firstname.lastname@example.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?
Yup, unless something creates the node-origins table before
base_hotcopy() fires (e.g. if opening the database does so).
svn_io_file_open() will choke opening src_path/"node-origins".
Received on Mon Nov 12 19:02:56 2007
- application/pgp-signature attachment: stored