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

Re: [PATCH 2/3] 'git-svndump'

From
EWEric Wong <normalperson@yhbt.net>
Date
Jun 20, 2007, 06:40 UTC
Message-ID
<20070620064015.GB25840@muzzle>
In-Reply-To
<7d5543ebd8ac45e49a6d3f300e988189561512f1.1182235492.git.ynvich@gmail.com>
Sergey Yanovich <ynvich@gmail.com> wrote:
Show 5 quoted lines
> A git tool to keep a subversion mirror
> 
> git-svndump is essentially a wrapper around 'git-svn commit-diff'. It
> will work only when it is the sole method of committing to the
> Subversion repository.

We could probably just implement this directly in git-svn. I'll try to find time to take a closer look at it this weekend or the next if I don't have time. If you or anybody else feel comfortable doing more work in Perl, feel free to go ahead with it.

Show 7 quoted lines
> It is designed to export a linear git branch. However, thanks to the way
> 'git' handles source code, 'git-svndump' seems to work in other
> conditions. For example, when branches are switched or merged.
> 
> git-svndump provides a solution when you need to export your source code
> in Subversion format (who would need this with git :), but do not want
> to have all the shackles that 'git-svn init' puts on your repository.
Show 10 quoted lines
> Signed-off-by: Sergey Yanovich <ynvich@gmail.com>
> ---
>  Documentation/git-svndump.txt |   97 ++++++++++++++++++++++++++++++++++++++++
>  Makefile                      |    1 +
>  git-svndump-init.sh           |   85 +++++++++++++++++++++++++++++++++++
>  git-svndump-sync.sh           |   98 +++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 281 insertions(+), 0 deletions(-)
>  create mode 100644 Documentation/git-svndump.txt
>  create mode 100755 git-svndump-init.sh
>  create mode 100755 git-svndump-sync.sh
I'm really not excited about having even more shell scripts in git.
-- 
Eric Wong
Previous: Sergey YanovichNext: Sergey Yanovich
Message 10 of 11 in “git tool to keep a subversion mirror”
  1. Sergey YanovichJun 18, 2007
  2. 1/3 Accept root <tree-ish> in 'git-svn commit-diff'Sergey Yanovich, Jun 18, 2007
  3. 2/3 'git-svndump'Sergey Yanovich, Jun 18, 2007
  4. 3/3 Fix large-scale exports by 'git-svndump'Sergey Yanovich, Jun 18, 2007
  5. Johannes SixtJun 18, 2007
  6. Charlie ShepherdJun 18, 2007
  7. Johannes SixtJun 18, 2007
  8. Eric WongJun 20, 2007
  9. Sergey YanovichJun 20, 2007
  10. Eric WongJun 20, 2007
  11. Sergey YanovichJun 20, 2007

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.