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

Re: Newbie question on accessing individual files ...

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Wed, 20 Aug 2008 14:37:18 -0500

On Aug 20, 2008, at 04:31, Robert Selby wrote:

> I have set up a repository for a number of related, but not dependant,
> projects and can happily use subversion to do what I need as far as
> controlling those sources.
>
> However, there is a project that is used by all of the other
> projects -
> a "bootloader" - each project may use a different version of the
> "bootloader" ... though' in general many would use the same variant.
>
> It changes very rarely and the main projects are ONLY interested in
> the
> "bootloader" BINARY - the "bootloader" should NOT be routinely
> rebuilt,
> because if it is then it will need to go back through formal retesting
> before anything can be released with it :-(
>
> What I need to do is to get a specific tagged version of the binary
> file
> just before doing the link. I do not want to have the "bootloader"
> binary in each main project and the "bootloader" project needs to be
> kept separate.
>
> I seem to remember PVCS had the concept of a "get" command for
> individual files but there doesn't seem to be any equivalent under
> subversion.
>
> I looked at "export" but it seems to only be happy with whole
> directories and I'm not convinced it does what I need.

You can use svn:externals to pull in bootloader into your project
from another place in the repository.

http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html

Note that until issue 937 is resolved, you cannot pull in individual
files with svn:externals; the smallest unit you can get is a directory.

http://subversion.tigris.org/issues/show_bug.cgi?id=937

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-20 21:37:45 CEST

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

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