/[Apache-SVN]
ViewVC logotype

Revision 1661179


Jump to revision: Previous Next
Author: rhuijben
Date: Fri Feb 20 18:26:04 2015 UTC (9 years, 2 months ago)
Changed paths: 4
Log Message:
Start using our move information in our commit processing to avoid
unneeded revision gaps when committing simple moves.

This handles the simple case where (during commit) we know that a
node didn't change in a specific revision range. As this is a
client side fixup this can't resolve the hard cases, but at
least it is safe and helps removing many gaps.

* subversion/include/private/svn_wc_private.h
  (svn_wc__node_get_deleted_ancestor): Remove unneeded function.

* subversion/libsvn_client/commit.c
  (svn_client_commit6): Attempt to fix-up the copy-from revision of
    moved nodes, by fixing up the known safe cases. Trust that the
    delete_op_root is really the delete op_root.

* subversion/libsvn_wc/node.c
  (svn_wc__node_get_deleted_ancestor): Remove function.

* subversion/tests/cmdline/log_tests.py
  (log_revision_move_copy): Update test expectations. The client
    side commit is now smart enough to avoid the revision gap, for
    direct moves from BASE.


Changed paths

Path Details
Directorysubversion/trunk/subversion/include/private/svn_wc_private.h modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/commit.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_wc/node.c modified , text changed
Directorysubversion/trunk/subversion/tests/cmdline/log_tests.py modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26