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

Re: svn rm empty-dir fails

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-08-25 17:33:30 CEST

"B. W. Fitzpatrick" <fitz@red-bean.com> writes:

> > The rules are
> >
> > - One may commit an add in an out-of-date directory provided the item
> > added does not conflict with an item in the HEAD version of the
> > directory.
> >
> > - One may commit a delete of an item from an out-of-date directory
> > provided the item being deleted is up-to-date.
> >
> > - Neither of the above cause the working copy directory to get
> > updated. To do otherwise would require commits to be able to add,
> > and delete, items in the working copy.
> >
> > - One cannot commit a delete of an out-of-date directory. To do so
> > would allow one to delete items one did not know existed.
> >
> > - One cannot commit a property modification to an out-of-date
> > directory. To do so would allow one to overwrite properties one has
> > not seen.
> >
> > Is this in the book? It should be.
>
> I do believe that this is part of the very first "Greg Hudson
> Problem".
>
> We elected not to put it in the book, but perhaps we should revisit
> this? Thoughts?

Um, it *is* in the book, at the very end of chapter 2.

I compressed these rules down to two:

  * you can't delete an item (file *or* dir) unless it is up-to-date

  * you can't commit a propchange to an out-of-date directory.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 25 17:38:42 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.