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

[PATCH 0/3] git-svn-externals PoC (in a sh script)

From
Eddy Petrișor <eddy.petrisor@gmail.com>
Date
Aug 29, 2008, 00:02 UTC
Message-ID
<60381eeb0808281702q3dc7543enff2b35ebbcc80d08@mail.gmail.com>
Hello,

I have started a while back working on support for svn:externals support for git-svn, but since I'm not that satisfied with the current status of the patch, I haven't modified git-svn itself and just left the sh script I made as a PoC as it was.

There's still work to be done to it, but I the current version is functional enough to be probably found useful by more people than myself.

Current status follows:
    Current functionality:
     - fetches all the externals of an already svn-fetched repo
     - support for svn:externals refresh
     - if the location of the external has changed, the current working
       copy will be placed aside and a new directory will be created
       instead
     - if the remote URI is the same (maybe a verison bump, there will
       be a 'git svn rebase'
     - remove support (useful for testing purposes or clean restarts)
     - avoid zombie externals at all costs - in some repos empty
       svn:externals might exist; svn ignores such externals, so git should
       do the same
    TODO:
     - take into account the revision of an external, if it exists
     - do not do deep svn cloning, to avoid legthy operations, just pull HEAD
       (this actually needs changes in git-svn itself)
     - use/create shallow copies to git svn repos (one revision should be enough
       for most externals)
     - use submodules for externals
Any comments are welcome.
-- 
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
Next: Eddy Petrișor
Message 1 of 9 in “git-svn-externals PoC (in a sh script)”
  1. 0/3 git-svn-externals PoC (in a sh script)Eddy Petrișor, Aug 29, 2008
  2. git svn: should not display zombie externalsEddy Petrișor, Aug 29, 2008
  3. First crude implementation of git-svn-externalsEddy Petrișor, Aug 29, 2008
  4. added a test frame for git-svn-externals.shEddy Petrișor, Aug 29, 2008
  5. Eddy PetrișorAug 29, 2008
  6. Eric WongAug 29, 2008
  7. RFH: git-svn and submodulesEric Wong, Sep 1, 2008
  8. Eddy PetrișorSep 10, 2008
  9. Eddy PetrișorSep 10, 2008

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.