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

Re: svn list problem

From: Virginie Trinite <virginie.trinite_at_thalesgroup.com>
Date: 2007-11-12 17:50:53 CET

Thanks for your reply, it is clearer for me now.

Virginie Trinité

Erik Huelsmann a écrit :
> 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:51:32 2007

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.