subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1525432 - /subversion/trunk/subversion/libsvn_fs_base/tree.c
Date Sun, 22 Sep 2013 20:22:25 GMT
Author: stefan2
Date: Sun Sep 22 20:22:24 2013
New Revision: 1525432

URL: http://svn.apache.org/r1525432
Log:
Add rudimentary MOVe support to BDB by simply recording add-with-history
instead of true moves.  In combination with the auto-move feature (see
later commits), this will still result in most of these adds being treated
as if they were proper moves.

* subversion/libsvn_fs_base/tree.c
  (base_revision_link): implement future API function

Modified:
    subversion/trunk/subversion/libsvn_fs_base/tree.c

Modified: subversion/trunk/subversion/libsvn_fs_base/tree.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_base/tree.c?rev=1525432&r1=1525431&r2=1525432&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_base/tree.c (original)
+++ subversion/trunk/subversion/libsvn_fs_base/tree.c Sun Sep 22 20:22:24 2013
@@ -3277,6 +3277,18 @@ base_revision_link(svn_fs_root_t *from_r
 }
 
 
+static svn_error_t *
+base_move(svn_fs_root_t *from_root,
+          const char *from_path,
+          svn_fs_root_t *to_root,
+          const char *to_path,
+          apr_pool_t *pool)
+{
+  /* BDB supports MOVes only as backward compatible ADD-with-history */
+  return base_copy(from_root, from_path, to_root, to_path, pool);
+}
+
+
 struct copied_from_args
 {
   svn_fs_root_t *root;      /* Root for the node whose ancestry we seek. */



Mime
View raw message