Here is a patch that resolves issue #2740 ("out-of-date" error text
varies depending on access method) and plugs a loophole in the commit
safety net, as far as tree conflict detection is concerned.
I mentioned this patch in an earlier email about the behavior of merge
(http://svn.haxx.se/dev/archive-2008-02/0872.shtml). Our current tree
conflict detection scheme relies on this patch, but this patch is not
specific to tree conflicts.
Subversion should cancel a commit that includes the deletion of a file
or directory that has already been deleted in the repository.
When cancelling a commit that tries to delete or modify a file or dir
that has already been deleted in the repo, the "out of date" error
message should be consistent for all remote access methods (v. issue
(out_of_date): New function.
(do_item_commit): To give the user an "out of date" error instead of
"not found", replace SVN_ERR() with manual error handling when
asking the repo to delete dirs or files, to open files, or to
receive property deltas during commit.
(svn_client_commit4): Give the user an "out of date" error instead
of "not found", if the RA editor can't be initialized.
(delete_entry): Treat the response '404 Not Found' as an error.
(commit_delete_entry): Treat the response '404 Not Found' as an error.
(out_of_date): Extend for case where we don't know the node type
because the node does not exist.
(delete_entry): If a path is not found, return an error.
(commit_out_of_date_deletions): Extend test cases to include all
relevant combinations of deletion vs (property-change | text-change |
deletion). Use svntest.actions.run_and_verify_commit consistently.
Stephen Butler | Software Developer
elego Software Solutions GmbH
Gustav-Meyer-Allee 25 | 13355 Berlin | Germany
fon: +49 30 2345 8696 | mobile: +49 163 25 45 015
fax: +49 30 2345 8695 | http://www.elegosoft.com
Geschäftsführer: Olaf Wagner | Sitz der Gesellschaft: Berlin
Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
Received on 2008-02-29 17:45:47 CET
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org