git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: svn:externals using git submodules

From
APAndy Parkins <andyparkins@gmail.com>
Date
May 1, 2007, 19:48 UTC
Message-ID
<200705012048.04817.andyparkins@gmail.com>
In-Reply-To
<20070501191703.GA25287@pe.Belkin>
On Tuesday 2007, May 01, Chris Shoemaker wrote:
> That's only true when the revision is not specified in the external.
> The repo you track may not do that, but it's not uncommon to do so.

It's been a while since I used subversion, and even longer since I used externals - is that a new feature? I used subversion since before version 1.0, so I often missed new features when they arrived.

> And, as I think you're pointing out, it's the only way to get any
> sort of reliable information about the relationship between the
> parent and the external.

Does subversion automatically update that fixed attachment when you update the submodule? I would have found that quite useful back then.

> I think it would probably be undesirable for git-svn to attempt to
> convert "floating" externals into well-versioned submodules, since
> they're not even well-versioned in the svn repo.  However, handling
> the "locked-down" externals is quite another thing.

Absolutely. If the information is available, then git is certainly capable of recording it. It sounds like subversion has a facility I didn't know exist, so I've been bad mouthing it more than I should. Oh well :-)

Andy
-- 
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com
Previous: Chris ShoemakerNext: Chris Shoemaker
Message 9 of 14 in “svn:externals using git submodules”
  1. Andy ParkinsMay 1, 2007
  2. Chris ShoemakerMay 1, 2007
  3. Shawn O. PearceMay 1, 2007
  4. Chris ShoemakerMay 1, 2007
  5. Shawn O. PearceMay 1, 2007
  6. Andy ParkinsMay 1, 2007
  7. Andy ParkinsMay 1, 2007
  8. Chris ShoemakerMay 1, 2007
  9. Andy ParkinsMay 1, 2007
  10. Chris ShoemakerMay 1, 2007
  11. Linus TorvaldsMay 1, 2007
  12. Junio C HamanoMay 1, 2007
  13. Shawn O. PearceMay 1, 2007
  14. Michel JouvinJan 20, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.