On 7/29/08, Johannes Schindelin [off-list ref] wrote:
On Tue, 29 Jul 2008, Jakub Narebski wrote:
> If I understand correctly with version 1.5 svn:externals can be
> specified using "peg revisions", so they could refer to some specific
> revision of 'external', like git submodules.
... which only means that if they had done that from the beginning, it
the git-svn enhancement would be easy.
But as they did not have it from the beginning, anybody tackling git-svn
and svn:externals will have to come up with sensible semantics for the
hard case.
One option would be to simply attach the submodule to the "latest
commit of the svn:external at the time the supermodule svn commit was
made". Basically, enforce git-submodule's precise revision feature
retroactively onto svn:externals.
I think this would be perfectly fine in my own projects, for example:
it's what I wanted in the first place, but svn didn't have this
feature, so I faked it by branching/tagging the external repo whenever
I wanted to link to a particular revision.
Have fun,
Avery