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

Re: tortoisesvn for Windows and Linux

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-06-08 14:46:10 CEST

On 6/8/06, mudassir <mudassir_shabir@mentor.com> wrote:
> Hi all,
> I have source of my project lying on a server. I need to check out this source
> on windows machine and also any linux machine.
>
> Files on server have three categories:
>
> 1. files that are specific to linux.
> 2. files that are specific to windows.
> 3. files that are common.
>
>
> The sizes for all of the categories are huge. Problem is I want to avoid
> downloading windows specific files when checking out source on my linux machine.
> There is some obvious pattern in files, for example some have DLL as extension,
> other may have win32 in path...Is it possible using SVN. Can I try some script
> or anything like that...or any option in SVN?

Sounds like you want externals so that you can point at your common
files from multiple sub-projects.

Simplified tree:

/
|_Common
|_Windows
 \_Common (external pointing to /Common)
|_Linux
 \_Common (external pointing to /Common)

Developers working on Linux would check out the /Linux subdirectory,
Windows devs obviously would check out the /Windows directory.

See the Subversion book's section on Externals for more.
http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Jun 8 14:46:20 2006

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

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