You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Brian Denny <br...@briandenny.net> on 2003/06/08 02:04:21 UTC
what to do when schedule-add directory is missing?
This came up in the earlier discussion of r5814 (Issue #1075) with Philip.
Let's say you do:
% svn mkdir abc # schedules 'abc' for addition
% rm -rf abc # normal filesystem rm
% svn st # reports 'abc' as 'missing'
% svn up ## what should this do?
Pre-5814, it gave a "working copy not locked" error.
Post-5814, it deletes the parent dir's entry for 'abc'.
I think that the optimal solution might be to do nothing --
keep the entry and give no error, so that 'abc' remains 'missing'.
What do others think?
-brian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: what to do when schedule-add directory is missing?
Posted by cm...@collab.net.
Brian Denny <br...@briandenny.net> writes (amongst other things
trimmed from his mail):
> Let's say you do:
>
> % svn mkdir abc # schedules 'abc' for addition
> % rm -rf abc # normal filesystem rm
> % svn st # reports 'abc' as 'missing'
> % svn up ## what should this do?
>
> I think that the optimal solution might be to do nothing --
> keep the entry and give no error, so that 'abc' remains 'missing'.
Well, assuming that the update doesn't otherwise conflict with the
local-mod addition of 'abc', having it remain missing makes sense to
me.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org