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

Re: new setup, status and commits

From: David Weintraub <qazwart_at_gmail.com>
Date: Mon, 3 Aug 2009 13:48:12 -0400

Check to see if there's a .svn directory in the current directory too. Also
do an "svn info" and see what that gives you.

You might try renaming all of your directories, and then do an "svn up" to
see if that creates the missing directories. Try this:

$ for file in *
do
[ -d $file ] || continue
mv $file file.save
done

Then, you can do a "svn up" and see if that recreates the directories.

On Mon, Aug 3, 2009 at 11:39 AM, Craig White <craigwhite_at_azapple.com> wrote:

> On Mon, 2009-08-03 at 10:55 -0400, David Weintraub wrote:
> > What was the output of the "svn add" command? Normally, it lists each
> > file you're adding.
> >
> > On Sat, Aug 1, 2009 at 9:49 PM, Craig White <craigwhite_at_azapple.com>
> > wrote:
> > I have something of a problem that I don't know exactly how to
> > fix.
> >
> > It is a new setup, webdav, I did a checkout of empty 'trunk'
> > then I did
> > an 'svn add *' and then I did svn status....
> >
> > $ svn status
> > ? test
> > ? app
> > ? tmp
> > ? log
> > ? script
> > ? db
> > ? config
> > ? doc
> > ? lib
> > ? vendor
> > ? public
> >
> > but I was able to 'cd' into each subdirectory and commit each
> > one
> > individually, but could not commit from my root directory. For
> > example...
> >
> > $ cd config
> > [craig_at_srv1 config]$ svn status
> > [craig_at_srv1 config]$ ls -l
> > total 92
> > -rw-r--r-- 1 craig dom_users 2795 May 29 10:17 boot.rb
> > -rw-r--r-- 1 craig dom_users 614 May 29 13:55 database.yml
> > -rw-r--r-- 1 craig dom_users 606 May 29 10:55 database.yml~
> > -rw-r--r-- 1 craig dom_users 223 May 29 11:41 email.yml
> > -rw-r--r-- 1 craig dom_users 0 May 29 11:41 email.yml~
> > -rw-r--r-- 1 craig dom_users 2474 Jun 2 22:13 environment.rb
> > -rw-r--r-- 1 craig dom_users 2473 Jun 2 22:12 environment.rb~
> > drwxr-xr-x 3 craig dom_users 4096 Aug 1 17:15 environments
> > drwxr-xr-x 3 craig dom_users 4096 Aug 1 17:15 initializers
> > drwxr-xr-x 3 craig dom_users 4096 Aug 1 17:15 locales
> > -rw-r--r-- 1 craig dom_users 2036 Jun 2 22:06 routes.rb
> > -rw-r--r-- 1 craig dom_users 2066 Jun 2 22:05 routes.rb~
> >
> > because these files all uploaded via the 'svn commit' command.
> >
> > but I cannot commit from base directory.
> >
> > How can I fix that?
> >
> > Craig
> ----
> I don't actually recall, that was Saturday and I forgot, I was doing
> many things. Of course, if I try to add now...
>
> $ svn add *
> svn: warning: 'app' is already under version control
> svn: warning: 'config' is already under version control
> svn: warning: 'db' is already under version control
> svn: warning: 'doc' is already under version control
> svn: warning: 'lib' is already under version control
> svn: warning: 'log' is already under version control
> svn: warning: 'public' is already under version control
> svn: warning: 'Rakefile' is already under version control
> svn: warning: 'README' is already under version control
> svn: warning: 'script' is already under version control
> svn: warning: 'test' is already under version control
> svn: warning: 'tmp' is already under version control
> svn: warning: 'vendor' is already under version control
>
> $ svn status
> ? test
> ? app
> ? tmp
> ? log
> ? script
> ? db
> ? config
> ? doc
> ? lib
> ? vendor
> ? public
>
> but I am sure that it was the 'svn add *' command that added everything
> which allowed me to commit each individual directory and the two files
> (Rakefile & README) were committed but I cannot in one command commit
> the whole directory from the root folder.
>
> Craig
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>

-- 
David Weintraub
qazwart_at_gmail.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2379662
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-03 19:49:40 CEST

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

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