Thread (15 messages) flat view 15 messages, 10 authors, 2016-06-15

Re: git-svn and svn:externals, was Re: Hackontest ideas?

From: Avery Pennarun <hidden>
Date: 2016-06-15 22:45:04

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help