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

Re: trying to add/commit to repository...

From: Matt Pounsett <matt.pounsett_at_cira.ca>
Date: 2005-05-02 15:54:15 CEST

> when i try to do a 'svn add *' it simply states that all the dirs in
> the
> dir are under version control... however, when i do a 'svn commit'
> nothing
> happens...

I'm going to make a guess at what might be happening here... forgive me
if this isn't the case.

If you have a repository that looks like this:

/proj
/proj/A
/proj/B

.. then add the directories

/proj/A/doc
/proj/A/web

And then, do `svn add /proj/A` nothing will happen, because /proj/A
is already under revision control. You need to specifically add the
directories not under revision control, and not their parents. svn add
will only act recursively after it finds something new to add, not
before.

To make this more closely like your case, if your current directory is
/proj, and you `svn add *` you'll see the same effect. You'd need to
be in the /proj/A directory for that to work.

Hope this helps,
    Matt

Received on Mon May 2 15:59:29 2005

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