This is the bug which causes some cvs2svn-produced repositories to gain
spurious additional files when passed through a dump-load cycle.
[[[
* subversion/libsvn_fs/bdb/changes-table.c (fold_change):
The sequence "replace, delete" should fold to "delete", not "no-op".
]]]
[[[
Index: subversion/libsvn_fs/bdb/changes-table.c
===================================================================
--- subversion/libsvn_fs/bdb/changes-table.c (revision 9043)
+++ subversion/libsvn_fs/bdb/changes-table.c (working copy)
@@ -168,12 +168,10 @@
break;
case svn_fs_path_change_delete:
- if ((old_change->change_kind == svn_fs_path_change_replace)
- || (old_change->change_kind == svn_fs_path_change_add))
+ if (old_change->change_kind == svn_fs_path_change_add)
{
- /* If the path was introduced in this transaction via an
- add or replace, and we are deleting it, just remove
- the path altogether. */
+ /* If the path was introduced in this transaction via an add,
+ * and we are deleting it, just remove the path altogether.
*/
old_change = NULL;
}
else
]]]
Max.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Mar 14 19:05:32 2004