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

Re: add dir, add file, commit file?

From: Kevin Pilch-Bisson <kevin_at_pilch-bisson.net>
Date: 2001-05-17 12:49:46 CEST

On Wed, May 16, 2001 at 10:08:43PM -0500, Ben Collins-Sussman wrote:
> Kevin Pilch-Bisson <kevin@pilch-bisson.net> writes:
> > In cvs this would be no problem, since the dir would be created in the
> > repository at add time, but with svn, we are trying to add a file to a
> > directory that is not under version control yet. Should we assume that
> > we also commit the directory in this case, or should we barf?
>
> We barf. The repository will say "sorry, there's no such directory
> 'foo'." As it should now.
>
> I think the majority of us are in agreement that CVS's behavior of
> instantly adding a repository directory when you 'add' it is a bogus
> behavior. CVS doesn't version directories; this is something it has
> to do to compensate. Subversion *does* version directories, so we
> stick to a higher law of conformity: "nothing goes to the server
> until you commit."
>
Okay, that is what I thought and what I think:) Once we get to the
stage of prettifying error messages, we may want to give that as a
possible cause of the error.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • application/pgp-signature attachment: stored
Received on Sat Oct 21 14:36:30 2006

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.