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

Problem with svn:externals property on the root directory of a wo rking copy

From: Marc Haesen <marc.haesen_at_telindus.com>
Date: 2004-03-29 21:20:26 CEST

Hi,

If I run the following script on windows using revision 9207 on trunk:

    set rootdir=propbug

    svnadmin create repos1
    svnadmin create repos2

    svn mkdir -m "" file:///%rootdir%/repos1/dir1
    svn mkdir -m "" file:///%rootdir%/repos2/dir2

    svn co file:///%rootdir%/repos1 wc
    svn propset svn:externals "dir2 file:///%rootdir%/repos2/dir2" wc
    svn commit -m "" wc
    svn propget svn:externals wc
    svn up wc
    rm -rf wc
    svn co file:///%rootdir%/repos1 wc
    svn propget svn:externals wc
    svn up wc
    svn propget svn:externals file:///%rootdir%/repos1

I get the following output:

    -> set rootdir=propbug
    -> svnadmin create repos1
    -> svnadmin create repos2
    -> svn mkdir -m "" file:///propbug/repos1/dir1

    Committed revision 1.

    -> svn mkdir -m "" file:///propbug/repos2/dir2

      Committed revision 1.

    -> svn co file:///propbug/repos1 wc
    A wc\dir1
    Checked out revision 1.

    -> svn propset svn:externals "dir2 file:///propbug/repos2/dir2" wc
    property 'svn:externals' set on 'wc'

    -> svn commit -m "" wc
    Sending wc

    Committed revision 2.

    -> svn propget svn:externals wc
    dir2 file:///propbug/repos2/dir2

    -> svn up wc

    Fetching external item into 'wc\dir2'
    External at revision 1.

    At revision 2.

    -> rm -rf wc

    -> svn co file:///propbug/repos1 wc
    A wc\dir1
    Checked out revision 2.

    -> svn propget svn:externals wc

    -> svn up wc
    At revision 2.

    -> svn propget svn:externals file:///propbug/repos1
    dir2 file:///propbug/repos2/dir2

In the working copy, the svn :externals property seems to be disappeared,
although it exists in the repository. When doing 'svn up', it is not
fetching the externals, althouth the 'svn up' on the initial working copy is
fetching the externals on a 'svn up'. The second checkout in wc is not
fetching the externals either.

Is this a know bug or do I do something wrong? Should I add an issue in the
issue database?

Marc

Visit us at Cebit 2004: Hall 13, Booth B34

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 29 21:20:58 2004

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

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