Re: git-svn and svn:externals, was Re: Hackontest ideas?
- From
- Luciano Rocha <luciano@eurotux.com>
- Date
- Jul 29, 2008, 13:08 UTC
- Message-ID
- <20080729130823.GB30334@bit.office.eurotux.com>
- In-Reply-To
- <alpine.DEB.1.00.0807291354130.4631@eeepc-johanness>
On Tue, Jul 29, 2008 at 01:56:37PM +0200, Johannes Schindelin wrote:
Show 13 quoted lines
> Hi, > > On Tue, 29 Jul 2008, Jakub Narebski wrote: > > > * handling of svn:externals using submodules > > I doubt that this is easy. Otherwise, Eric would have done it a long time > ago. > > The main concern I have is to get the semantics right: AFAICT > svn:externals has _no notion_ of "what is current". It just _always_ > fetches the HEAD. Even if you check out an ancient revision in the > "superproject".
Usually, yes. But you could specify a specific revision with -r <rev>.
Or, for branches/tags, as they're paths, a correct url would suffice.
With the new 1.5, it is also possible to specify pegged revisions. Much better, because otherwise subversion would require that the path existed in the server in HEAD.
-- Luciano Rocha <luciano@eurotux.com> Eurotux Informática, S.A. <http://www.eurotux.com/>