On 11/12/07, Giulio Troccoli <Giulio.Troccoli@uk.linedata.com> wrote:
> > #!/bin/bash
> > #create the repositories for the test
> > mkdir testsvn
> > cd testsvn
> > DIR=`pwd`
> > mkdir server
> > mkdir user
> > cd server
> > svnadmin create reproot
> > cd ../user
> > svn checkout file://$DIR/server/reproot
> > cd reproot
> >
> > #create the repository to add
> > mkdir test
> > cd test
> > cat > toto <<EOF
> > make a test
> > EOF
> > cd ..
> >
> > #now test svn
> > svn add test
> > svn commit -m "a test"
> > cd ..
> > svn list reproot
>
> Reproot is not a direcroty in the current WC so svn list reports
> nothing. Svn list test would report your file, but as John says you need
> to update your WC first.
>
> And btw, just to avoid confusion, you haven't created another
> repository, just a directory in the repository called reproot
Actually, to avoid confusion, if reproot is a repository root working
copy, this should have worked. And actually: it does work.
You're experiencing the side-effect of mixed-revision working copies
(http://svnbook.red-bean.com/en/1.4/svn.basic.in-action.html#svn.basic.in-action.mixedrevs).
John pointed to a faq item explaining this issue too.
HTH,
Erik.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 12 17:03:07 2007