You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mickael Marchand <ma...@kde.org> on 2005/04/19 17:33:27 UTC

normal behavior or bug ? (svn:externals on a non-recursive checkout)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

alhya ~/kde/svn/% svn co --non-recursive
https://svn.kde.org/home/kde/trunk/KDE/kde-i18n
.....
Checked out revision 410459.
alhya ~/kde/svn/% cd kde-i18n
alhya ~/kde/svn/kde-i18n% svn propget svn:externals
admin https://svn.kde.org/home/kde/trunk/KDE/kde-common/admin
alhya ~/kde/svn/kde-i18n% svn up admin
At revision 410459.
alhya ~/kde/svn/kde-i18n% ls admin
ls: admin: No such file or directory

svn up normal_subdir works fine though.

so basically you have no way to update from a svn:externals if it was
not checkouted at the first shot.

This is problematic for KDE translators people for example who need this
kind of feature (because kde-i18n handles many gigabytes of datas and
nobody wants to fully checkout it ;) and the build system is hold in an
svn:externals reference...(KDE people would : cd kde-i18n; svn up
your_team_language to checkout their language only and svn up admin to
get the build system which is shared by all KDE modules)

so, it is a bug or a feature ? :)

Cheers,
Mik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCZUDkyOYzc4nQ8j0RAsqtAKCLSSCUUGnSIl0jdl1TUkk5ZksrzwCff43J
nAcGdQU0WgxBB8TEQxLJVv0=
=FpvT
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: normal behavior or bug ? (svn:externals on a non-recursive checkout)

Posted by Ronald Lembcke <es...@fen-net.de>.
Hi!

On Tue, Apr 19, 2005 at 07:33:27PM +0200, Mickael Marchand wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> alhya ~/kde/svn/% svn co --non-recursive
> https://svn.kde.org/home/kde/trunk/KDE/kde-i18n
> .....
> Checked out revision 410459.
> alhya ~/kde/svn/% cd kde-i18n
> alhya ~/kde/svn/kde-i18n% svn propget svn:externals
> admin https://svn.kde.org/home/kde/trunk/KDE/kde-common/admin
> alhya ~/kde/svn/kde-i18n% svn up admin
> At revision 410459.
> alhya ~/kde/svn/kde-i18n% ls admin
> ls: admin: No such file or directory
> 
> svn up normal_subdir works fine though.
> 
> so basically you have no way to update from a svn:externals if it was
> not checkouted at the first shot.

Well ... there _is_ :-( ... but it doesn't make the current situation
any better. (Those logs below are taken from Subversion 1.1.4 but I've
just tested 1.2 and the same thing happends)

Here are two "svn update"s ... the first one demonstrating the aditional
problem -- svn fetching the external item which has never been requested
-- and the second one show the same problem as the message I'm replying
to.

"svn update" appears to not only not work with -N for external items,
but the behaviour of -N is reversed.

#####################################################################

defiant/tmp/bar$ svn co -N http://ganges.crash:8012/svn/liederbuch
Checked out revision 495.
defiant/tmp/bar$ cd liederbuch/
defiant/tmp/bar/liederbuch$ svn update -N weitere
A  weitere
Updated to revision 495.
defiant/tmp/bar/liederbuch$ svn update

Fetching external item into 'weitere/support'
A  weitere/support/tex
A  weitere/support/tex/generic
A  weitere/support/tex/generic/chorddefs.tex
A  weitere/support/tex/generic/zlldb.cls
A  weitere/support/tocit
[...]
Updated external to revision 495.

Updated to revision 495.
defiant/tmp/bar/liederbuch$ 

#####################################################################

defiant/tmp/baz$ svn co -N http://ganges.crash:8012/svn/liederbuch
Checked out revision 495.
defiant/tmp/baz$ cd liederbuch/
defiant/tmp/baz/liederbuch$ svn update -N weitere
A  weitere
Updated to revision 495.
defiant/tmp/baz/liederbuch$ svn update weitere/support
At revision 495.
defiant/tmp/baz/liederbuch$ cd weitere
defiant/tmp/baz/liederbuch/weitere$ svn update support
At revision 495.
defiant/tmp/baz/liederbuch/weitere$ 

#####################################################################


Greetings,
            Roni

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org