[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: Alan Jay Weiner <alan_at_ajw.com>
Date: 2004-08-18 20:40:41 CEST

>> Ok, that's reasonable - I agree; you definitely want to get a
>> particular build's
>> files exactly as they were at that time.
>>
>> Are you saying that svn:externals always gets from HEAD? So
>> if I "go back in
>> time" and get an older revision of a project which uses
>> svn:externals, it'll get
>> the project's files from the proper revision, but the
>> external files from that
>> other project's HEAD?
>>
>> If that's true, then my separate-directory idea wouldn't
>> work; I'd never be able
>> to go back to older revisions without a lot of manual work.
>
>You can specify a revision in your svn:externals. We use a script to do
>our tagging which does an svn copy followed by updating each
>svn:externals definition in the destination to include the version.
>

Hi Ian!
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?

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?

Thanks!

- Al -

-- 
--  Alan Weiner  --  alan_at_ajw.com  --  http://www.ajw.com
Palm OS Certified Developer
---------------------------------------------------------------------
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:41:37 2004

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