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

Re: Questions about svn:externals

From: Martin Rabl <martin.rabl_at_rablnet.de>
Date: Wed, 19 Jan 2011 10:34:09 +0100

Hi again,

never to old to learn something ... ;-)

Am 19.01.2011 10:26, schrieb Martin Rabl:
> Am 19.01.2011 10:02, schrieb David Aldrich:
> > to do this, so how can we prevent such commits being made?
> IMHO there is no way to prevent external commits - it would be contrary
> to the principles of svn, I think.
> The only way is: "svn export" the contents, after that svn:ignore the dir.
It is only on way, but not the best.

You can fix an external onto a revision.
Prepend the Revision with -r REVNO before the Url in the
svn:external-Definition, so it looks like

-r 1234 http://svn.somethingelse.org/repository/trunk/ somethingdir

-- 
Greetings,
    Martin Rabl
Received on 2011-01-19 10:32:21 CET

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.