[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-cvs
Subject:    svn commit: r9559 - branches/fs-abstraction/subversion/libsvn_fs
From:       jpieper () tigris ! org
Date:       2004-04-29 0:53:54
Message-ID: 200404290053.i3T0rs624922 () morbius ! ch ! collab ! net
[Download RAW message or body]

Author: jpieper
Date: Wed Apr 28 19:53:46 2004
New Revision: 9559

Modified:
   branches/fs-abstraction/subversion/libsvn_fs/fs-loader.c
Log:
In the fs-abstraction branch, make fs-loader copy the fs-type during a
hotcopy.  Otherwise the newly created repository would always default
to libsvn_fs_base.

* subversion/libsvn_fs/fs-loader.c
  (svn_fs_hotcopy): Copy the fs-type file after the FSAP is done doing
    its job.


Modified: branches/fs-abstraction/subversion/libsvn_fs/fs-loader.c
==============================================================================
--- branches/fs-abstraction/subversion/libsvn_fs/fs-loader.c	(original)
+++ branches/fs-abstraction/subversion/libsvn_fs/fs-loader.c	Wed Apr 28 19:53:46 2004
@@ -278,7 +278,12 @@
   fs_library_vtable_t *vtable;
 
   SVN_ERR (fs_library_vtable (&vtable, src_path, pool));
-  return vtable->hotcopy (src_path, dest_path, clean, pool);
+  SVN_ERR (vtable->hotcopy (src_path, dest_path, clean, pool));
+
+  /* Copy the fs-type file. */
+  SVN_ERR (svn_io_dir_file_copy (src_path, dest_path, FS_TYPE_FILENAME, pool));
+
+  return SVN_NO_ERROR;
 }
 
 

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic