[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Patch] Fix svn issue #2269 - warn and skip for nonexistent file

From: Alexander Thomas <alexander_at_collab.net>
Date: 2005-08-02 15:30:15 CEST

Patch to fix svn issue #2269 - warn and skip for nonexistent file
on 'svn rm' and exit with failure.

Patch is still incomplete respect to the expected behavior and also its
a stupid patch, if implemented will fail almost all test. :-). This
patch is only meant for discussion and suggestion and not for review.

What I tried to do is, when a target is nonexistent
svn_wc_adm_open_anchor() will return with an error. Its a very common
function used in many svn commands, so this behavioral change will
trigger almost all test to fail.

Advance Thanks

Regards
-Alexander Thomas (AT)

Partial fix for issue 2269 - warn and skip for nonexistent file
on 'svn rm' and exit with failure.

  * subversion/libsvn_wc/lock.c
    (svn_wc_adm_open_anchor): Modified, if file nonexistent error-out.

  * subversion/libsvn_client/delete.c
    (svn_client_delete): Modified.

  * subversion/clients/cmdline/update-cmd.c
    (svn_cl__update): Modified.

  * subversion/clients/cmdline/status-cmd.c
    (svn_cl__status): Modified.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Tue Aug 2 16:01:12 2005

This is an archived mail posted to the Subversion Dev mailing list.