subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject svn commit: r1332051 - /subversion/trunk/subversion/libsvn_delta/editor.c
Date Mon, 30 Apr 2012 03:21:36 GMT
Author: gstein
Date: Mon Apr 30 03:21:36 2012
New Revision: 1332051

URL: http://svn.apache.org/viewvc?rev=1332051&view=rev
Log:
Revert r1332050. In a working copy with uncommitted content, a
copy/move of that content is still allowed. Receivers may need to
validate that a revision was specified, but the generic editor needs
to allow copy/move of uncommitted content.

* subversion/libsvn_delta/editor.c:
  (svn_editor_copy, svn_editor_move): remove assertions on SRC_REVISION

Modified:
    subversion/trunk/subversion/libsvn_delta/editor.c

Modified: subversion/trunk/subversion/libsvn_delta/editor.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_delta/editor.c?rev=1332051&r1=1332050&r2=1332051&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_delta/editor.c (original)
+++ subversion/trunk/subversion/libsvn_delta/editor.c Mon Apr 30 03:21:36 2012
@@ -694,7 +694,6 @@ svn_editor_copy(svn_editor_t *editor,
   svn_error_t *err = SVN_NO_ERROR;
 
   SVN_ERR_ASSERT(svn_relpath_is_canonical(src_relpath));
-  SVN_ERR_ASSERT(SVN_IS_VALID_REVNUM(src_revision));
   SVN_ERR_ASSERT(svn_relpath_is_canonical(dst_relpath));
   SHOULD_NOT_BE_FINISHED(editor);
   SHOULD_ALLOW_ADD(editor, dst_relpath);
@@ -728,7 +727,6 @@ svn_editor_move(svn_editor_t *editor,
   svn_error_t *err = SVN_NO_ERROR;
 
   SVN_ERR_ASSERT(svn_relpath_is_canonical(src_relpath));
-  SVN_ERR_ASSERT(SVN_IS_VALID_REVNUM(src_revision));
   SVN_ERR_ASSERT(svn_relpath_is_canonical(dst_relpath));
   SHOULD_NOT_BE_FINISHED(editor);
   SHOULD_NOT_BE_COMPLETED(editor, src_relpath);



Mime
View raw message