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

Re: Can SVN share files and projects?

From: François Beausoleil <fbeausoleil_at_ftml.net>
Date: 2004-08-18 20:41:42 CEST

Alan Jay Weiner wrote:
> I couldn't find any documentation on specifying a revision in svn:externals - is
> that something new? (I also looked in the CHANGES list for 1.1, but didn't see
> anything there either...)
>
> Would you mind posting an example? Or snippets from you script?

Simply add -r to your svn:externals:

lib-common -r1213 http://server/repos/lib-common

> If you make changes to the files pulled in via svn:externals, can they be
> committed back to the repository? Or do you have to make those changes in the
> file-owner's project, then commit that separately?

Almost. svn commit will not recurse into externals, so the changes you
make will not be applied as part of the commit in a parent folder.

But, the externals folders are real working copies, meaning you can svn
commit path/to/externals, and Subversion will do the right thing.

Hope that helps,
François

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 18 20:45:54 2004

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.