You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by David Pratt <fa...@eastlink.ca> on 2008/01/22 21:55:44 UTC
svn:external for a single file
Hi. I routinely use externals in my projects like this.
svn propset svn:externals -F externals.txt .
and in my externals.txt file I include the map between folder and
contents from external source folder:
folder path/to/a/repository/folder
If I just want a single file in my current directory instead of a folder
from an external repository, how do I do this?
Many thanks
Regards,
David
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: svn:external for a single file
Posted by Ulrich Eckhardt <ec...@satorlaser.com>.
(Note: top-posting fixed, I hope I guessed the context of the statement
correctly. )
On Wednesday 09 July 2008, gerardroche wrote:
> > Subversion will support single-file externals in 1.6.
[...]
> The sooner the better :)
Actually here is the content of a file I have in one of my projects:
auto_resource.hpp:
#error "switch this to the path given below"
svn switch "$(URL)/utilities/auto_resource.hpp" auto_resource.hpp
This will simply switch the single file to a different URL, which is actually
quite nice and completely sufficient. Note that when releasing the project, I
actually copy the file there, instead of requiring two operations to retrieve
the data.
Uli
--
ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: svn:external for a single file
Posted by gerardroche <bu...@live.com>.
The sooner the better :)
Blair Zajac wrote:
>
> Andy Levy wrote:
>> On Jan 22, 2008 4:55 PM, David Pratt <fa...@eastlink.ca> wrote:
>>> Hi. I routinely use externals in my projects like this.
>>>
>>> svn propset svn:externals -F externals.txt .
>>>
>>> and in my externals.txt file I include the map between folder and
>>> contents from external source folder:
>>>
>>> folder path/to/a/repository/folder
>>>
>>> If I just want a single file in my current directory instead of a folder
>>> from an external repository, how do I do this?
>>
>> Subversion does not presently support single-file externals. Only
>> directories.
>
> Subversion will support single-file externals in 1.6.
>
> Regards,
> Blair
>
> --
> Blair Zajac, Ph.D.
> CTO, OrcaWare Technologies
> <bl...@orcaware.com>
> Subversion training, consulting and support
> http://www.orcaware.com/svn/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
--
View this message in context: http://www.nabble.com/svn%3Aexternal-for-a-single-file-tp15029576p18361642.html
Sent from the Subversion Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: svn:external for a single file
Posted by Blair Zajac <bl...@orcaware.com>.
Andy Levy wrote:
> On Jan 22, 2008 4:55 PM, David Pratt <fa...@eastlink.ca> wrote:
>> Hi. I routinely use externals in my projects like this.
>>
>> svn propset svn:externals -F externals.txt .
>>
>> and in my externals.txt file I include the map between folder and
>> contents from external source folder:
>>
>> folder path/to/a/repository/folder
>>
>> If I just want a single file in my current directory instead of a folder
>> from an external repository, how do I do this?
>
> Subversion does not presently support single-file externals. Only directories.
Subversion will support single-file externals in 1.6.
Regards,
Blair
--
Blair Zajac, Ph.D.
CTO, OrcaWare Technologies
<bl...@orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: svn:external for a single file
Posted by Andy Levy <an...@gmail.com>.
On Jan 22, 2008 4:55 PM, David Pratt <fa...@eastlink.ca> wrote:
> Hi. I routinely use externals in my projects like this.
>
> svn propset svn:externals -F externals.txt .
>
> and in my externals.txt file I include the map between folder and
> contents from external source folder:
>
> folder path/to/a/repository/folder
>
> If I just want a single file in my current directory instead of a folder
> from an external repository, how do I do this?
Subversion does not presently support single-file externals. Only directories.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org