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

Re: svn:externals and specific revisions

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: 2007-09-14 19:27:39 CEST

On 9/14/07, Bicking, David (HHoldings, IT) <David.Bicking@thehartford.com>
wrote:
>
> I like svn:externals. I have a question, and I don't see the answer
> anywhere in my googling, so I'm posing the question here. I know that
> when I use this property I can make changes to the external files and
> commit them when I'm at the HEAD. What is the behavior when I specify a
> revision? Does it stop all commits? If not, why not? I can see where
> all kinds of havoc can be wreaked if users started updating an external
> pegged at an older revision.

If I understand your question correctly, you are asking what happens if the
external is set to a particular revision. For example: if the external was
  mydir -r OldRevision http://myurl/mydir

In that case, it should work exactly like when you checkout a particular
revision of any URL. If you don't checkout the HEAD and instead checkout an
older revision and then try to commit any changes, the svn client will give
you an out-of-date error. It will not let you commit until you update the
files to the latest. Same thing should hold good for directories checked out
as external.

If I misunderstood your question, can you please elaborate?

Thanks,
-Hari Kodungallur
Received on Fri Sep 14 19:24:20 2007

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.