Evgeny Kotkov <evgeny.kot...@visualsvn.com> writes:

> The current state is that the commit is going to fetch the original
> text-base before sending the delta.
>
> It should be technically possible to implement a behavior where the commit
> sends a delta if the local text-base is present, and a fulltext otherwise.

This behavior where a commit does not fetch the text-bases, but only uses
those that are available locally, can be enabled with the following patch:

[[[
Index: subversion/libsvn_client/commit.c
===================================================================
--- subversion/libsvn_client/commit.c   (revision 1892661)
+++ subversion/libsvn_client/commit.c   (working copy)
@@ -729,7 +729,7 @@ svn_client_commit6(const apr_array_header_t *targe
         goto cleanup;

       cmt_err = svn_error_trace(
-                    svn_client__textbase_sync(lock_root, TRUE, TRUE,
+                    svn_client__textbase_sync(lock_root, FALSE, TRUE,
                                               ctx, iterpool));
       if (cmt_err)
         goto cleanup;
]]]


Thanks,
Evgeny Kotkov

Reply via email to