You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by allan juul <al...@muly.dk> on 2005/06/07 19:35:22 UTC
external definitions - flatten
hi
given that i have an external definition structure like:
/externals/proj1/file1
/externals/proj1/file2
/externals/proj1/file3
/externals/proj2/file21
/externals/proj2/file22
/externals/proj2/file23
is it possible to get all 6 files from the above sub dirs into *one*
dir during a check out, so that i end up with ?
/my_externals/file1
/my_externals/file2
/my_externals/file3
/my_externals/file21
/my_externals/file22
/my_externals/file23
i seem to be able to get the files from one dir only.
this is possible:
$ svn propedit svn:externals mainproject
my_externals URL/externals/proj1/
my_externals URL/externals/proj2/
but only proj2 gets checked out
./allan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: external definitions - flatten
Posted by allan juul <al...@muly.dk>.
Ben Collins-Sussman wrote:
> 'svn checkout' only works on directories, not single files. And the
> svn:externals feature is essentially nothing but a list of extra
> directories to checkout.
which i what im trying to accomplish, albeit with a flattened structure
There are plans, I believe, to make
> svn:externals able to checkout a single file someday. Until then,
> there's no workaround that I can think of.
i'm, quite 100% sure i didn't explain myself correctly ;)
i'm quite happy with the usual svn:externals behavior working on dirs.
i just wished there was an extra (perhaps default) option that when you
edit the property on the relevant root dir (lets call it ROOT) and you
specify the same dir (in this case called 'my_externals') more than once
then you automatically get all the specified URLs (which are URLs
pointing to dirs) downloaded into that dir
so a svn propget ROOT will display:
my_externals URL/externals/proj1/here_we_have_dirs_and_files_from_proj1
my_externals URL/externals/proj1/here_we_have_dirs_and_files_from_proj2
and a svn co URL/TO/ROOT will get
ROOT/usual/stuff
ROOT/my_externals/here_we_have_dirs_and_files_from_proj1
ROOT/my_externals/here_we_have_dirs_and_files_from_proj2
as it is today i will end up with
ROOT/usual/stuff
ROOT/my_externals/here_we_have_dirs_and_files_from_proj2
./allan
>
> On Jun 7, 2005, at 12:35 PM, allan juul wrote:
>
>> hi
>>
>> given that i have an external definition structure like:
>>
>> /externals/proj1/file1
>> /externals/proj1/file2
>> /externals/proj1/file3
>>
>> /externals/proj2/file21
>> /externals/proj2/file22
>> /externals/proj2/file23
>>
>>
>> is it possible to get all 6 files from the above sub dirs into *one*
>> dir during a check out, so that i end up with ?
>>
>> /my_externals/file1
>> /my_externals/file2
>> /my_externals/file3
>> /my_externals/file21
>> /my_externals/file22
>> /my_externals/file23
>>
>>
>> i seem to be able to get the files from one dir only.
>>
>> this is possible:
>>
>> $ svn propedit svn:externals mainproject
>>
>> my_externals URL/externals/proj1/
>> my_externals URL/externals/proj2/
>>
>> but only proj2 gets checked out
>>
>>
>>
>> ./allan
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
externals for single files
Posted by Jochen Wendebaum <jo...@wendebaum.de>.
On Wed, 08 Jun 2005 19:46:31 +0200, Ben Collins-Sussman
<su...@collab.net> wrote:
> 'svn checkout' only works on directories, not single files. And the
> svn:externals feature is essentially nothing but a list of extra
> directories to checkout. There are plans, I believe, to make
> svn:externals able to checkout a single file someday.
Ist there any news on that subject? Any hint, if this is on the roadmap
somewhere (it isn't on the official roadmap)?
Whom could I contact for a possible commercial support of the development
of that feature?
Kind regards,
Jochen Wendebaum
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: external definitions - flatten
Posted by Ben Collins-Sussman <su...@collab.net>.
'svn checkout' only works on directories, not single files. And the
svn:externals feature is essentially nothing but a list of extra
directories to checkout. There are plans, I believe, to make
svn:externals able to checkout a single file someday. Until then,
there's no workaround that I can think of.
On Jun 7, 2005, at 12:35 PM, allan juul wrote:
> hi
>
> given that i have an external definition structure like:
>
> /externals/proj1/file1
> /externals/proj1/file2
> /externals/proj1/file3
>
> /externals/proj2/file21
> /externals/proj2/file22
> /externals/proj2/file23
>
>
> is it possible to get all 6 files from the above sub dirs into *one*
> dir during a check out, so that i end up with ?
>
> /my_externals/file1
> /my_externals/file2
> /my_externals/file3
> /my_externals/file21
> /my_externals/file22
> /my_externals/file23
>
>
> i seem to be able to get the files from one dir only.
>
> this is possible:
>
> $ svn propedit svn:externals mainproject
>
> my_externals URL/externals/proj1/
> my_externals URL/externals/proj2/
>
> but only proj2 gets checked out
>
>
>
> ./allan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org