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

add dir, add file, commit file?

From: Kevin Pilch-Bisson <kevin_at_pilch-bisson.net>
Date: 2001-05-17 04:36:50 CEST

What is our expected behaviour if a user types:

$ mkdir foo
$ svn add foo
$ echo "Hello" > foo/bar
$ svn add foo/bar
$ svn ci foo/bar

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?

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.