You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "rupert.thurner" <ru...@gmail.com> on 2011/09/18 21:22:45 UTC

svn --ignore-externals broken on checkout?

with svn-1.6

svn co --ignore-externals https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/pkg/subversion
cd subverison/trunk
ln -s gar ../whatever
svn st
X       gar

with svn -1.7 this looks like:

svn st
?       gar

platform: solaris, http://opencsw.org

rupert.

Re: svn --ignore-externals broken on checkout?

Posted by Gavin Baumanis <ga...@thespidernet.com>.
Hi Rupert,

I recently reported a similar issue on the subclipse mailing list.

My externals were showing as "?" in my working copy (within the eclipse IDE).
Yet strangely at the command line, the "X" was being shown.

I tried all manner of things;
restarting eclipse, svn cleanup, svn update...
yet the display issue was still present in my IDE.

My question then is;
Is it a "display issue" or is it a bug?

Do you have a test repo that you might be able to test this out with?
That is;
use svn add / commit - and see whether or not the files are "actually" treated as new files or not.

Gavin.


On 20/09/2011, at 7:07 AM, rupert.thurner wrote:

> On Sep 19, 3:05 pm, Philip Martin <ph...@wandisco.com> wrote:
>> "rupert.thurner" <ru...@gmail.com> writes:
>>> with svn-1.6
>> 
>>> svn co --ignore-externalshttps://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/pkg/subversion
>>> cd subverison/trunk
>>> ln -s gar ../whatever
>>> svn st
>>> X       gar
>> 
>>> with svn -1.7 this looks like:
>> 
>>> svn st
>>> ?       gar
>> 
>> It's different, but is it 1.6 or 1.7 that is broken?  In 1.7 the
>> externals are more completely ignored when --ignore-externals is used,
>> so the wc treats gar as unversioned until you run 'svn up' without
>> --ignore-externals.
> 
> imo, 1.7 is broken. the working copy is not aware that there is an
> external, and therefor thinks a folder "gar" in the above example,
> created with other means, is new.
> 
> rupert.


Re: svn --ignore-externals broken on checkout?

Posted by "rupert.thurner" <ru...@gmail.com>.
On Sep 19, 3:05 pm, Philip Martin <ph...@wandisco.com> wrote:
> "rupert.thurner" <ru...@gmail.com> writes:
> > with svn-1.6
>
> > svn co --ignore-externalshttps://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/pkg/subversion
> > cd subverison/trunk
> > ln -s gar ../whatever
> > svn st
> > X       gar
>
> > with svn -1.7 this looks like:
>
> > svn st
> > ?       gar
>
> It's different, but is it 1.6 or 1.7 that is broken?  In 1.7 the
> externals are more completely ignored when --ignore-externals is used,
> so the wc treats gar as unversioned until you run 'svn up' without
> --ignore-externals.

imo, 1.7 is broken. the working copy is not aware that there is an
external, and therefor thinks a folder "gar" in the above example,
created with other means, is new.

rupert.

Re: svn --ignore-externals broken on checkout?

Posted by Philip Martin <ph...@wandisco.com>.
"rupert.thurner" <ru...@gmail.com> writes:

> with svn-1.6
>
> svn co --ignore-externals https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/pkg/subversion
> cd subverison/trunk
> ln -s gar ../whatever
> svn st
> X       gar
>
> with svn -1.7 this looks like:
>
> svn st
> ?       gar

It's different, but is it 1.6 or 1.7 that is broken?  In 1.7 the
externals are more completely ignored when --ignore-externals is used,
so the wc treats gar as unversioned until you run 'svn up' without
--ignore-externals.

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com