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

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

From
SYSergey Yanovich <ynvich@gmail.com>
Date
Jun 20, 2007, 09:47 UTC
Message-ID
<4678F797.7000005@gmail.com>
In-Reply-To
<20070620064015.GB25840@muzzle>
Eric Wong wrote:
> 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.

I would be happy to help, but I don't speak fluent perl. I had real trouble introducing a global variable, when patching 'git-svn' for root commit.

Show 10 quoted lines
>>  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.

The first name for this scripts was 'git-svndumb'. They don't do anything themselves. They just call 'git-svn'. It works like decoupling in object-oriented design. Old UNIX philosophy of 'big number of small tools'.

If you decide to incorporate then in 'git-svn', you'll need to contaminate it with knowledge of 'svndumb'. I am afraid, you'll need to peruse the whole file, putting 'if's here and there.

But, it doesn't really matter, which you way you go. I would be happy just to see this functionality in some future release of git.

Previous: Eric Wong
Message 11 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.