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

Move Git::SVN into its own .pm file

From
Michael G. Schwern <schwern@pobox.com>
Date
Jul 25, 2012, 06:01 UTC
Message-ID
<1343196066-81319-1-git-send-email-schwern@pobox.com>

This is a refactoring to move Git::SVN out of git-svn and into its own .pm file. This will make it easier to work with and test. This is just the extraction with minimal work to keep all tests passing.

A couple of utility functions which were used by Git::SVN, git-svn and others were also extracted from git-svn into a new Git::SVN::Utils. Not the most imaginitive name, but it's better than Git::SVN grabbing at git-svn internals and it allows Git::SVN (and later other classes) to stand alone without git-svn.

Its was reworked to be done backwards (instead of extracting and then fixing the resulting problems, the problems were fixed in place and then it's extracted) in order to keep every commit passing tests and provide a useful history. This was something of a pain.

Next: Michael G. Schwern
Message 1 of 12 in “Move Git::SVN into its own .pm file”
  1. Michael G. SchwernJul 25, 2012
  2. 1/4 Extract some utilities from git-svn to allow extracting Git::SVN.Michael G. Schwern, Jul 25, 2012
  3. Eric WongJul 25, 2012
  4. Michael G SchwernJul 25, 2012
  5. Eric WongJul 25, 2012
  6. Michael G SchwernJul 26, 2012
  7. Eric WongJul 26, 2012
  8. Jonathan NiederJul 26, 2012
  9. 2/4 Prepare Git::SVN for extraction into its own file.Michael G. Schwern, Jul 25, 2012
  10. 4/4 Move initialization of Git::SVN variables into Git::SVN.Michael G. Schwern, Jul 25, 2012
  11. Jonathan NiederJul 25, 2012
  12. Michael G SchwernJul 25, 2012

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.