Skip to content

git-svn: use YAML format for mergeinfo cache when possible

Jonathan Nieder git 1 version In review

Get series with b4
b4 am 20120609222039.GD28412@burratino

Versions newest first

  1. v2 Latest3 patches 4 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3git-svn: make Git::SVN::Editor a separate filegit-svn.perl perl/Git/SVN/Editor.pm perl/Git/SVN/Fetcher.pm +1 more+541 -4710 replies
2/3git-svn: make Git::SVN::RA a separate filegit-svn.perl perl/Git/SVN/Ra.pm perl/Makefile.PL+660 -6110 replies
3/3git-svn: use YAML format for mergeinfo cache when possiblegit-svn.perl perl/Git/SVN/Memoize/YAML.pm perl/Makefile.PL+119 -61 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] git-svn: use YAML format for mergeinfo cache when possible
Quoted 1 line · Eric Wong

Seems reasonable, a few comments below.

Thanks again.

[...]

Quoted 1 line

These should die on errors, right?

Yep, they do. I didn't bother doing the CARP_NOT thing --- let's wait for a bug report or rainy day and then handle errors properly (by invalidating the cache when appropriate).

Patches 1-2 are independent from patch 3. I'm sending them this way for no particular reason.

Thoughts of all kinds welcome, as usual.

Jonathan Nieder (3):
git-svn: make Git::SVN::Editor a separate file
git-svn: make Git::SVN::RA a separate file
git-svn: use YAML format for mergeinfo cache when possible

 git-svn.perl                 | 1115 ++----------------------------------------
 perl/Git/SVN/Editor.pm       |  536 ++++++++++++++++++++
 perl/Git/SVN/Fetcher.pm      |    3 +-
 perl/Git/SVN/Memoize/YAML.pm |   93 ++++
 perl/Git/SVN/Ra.pm           |  658 +++++++++++++++++++++++++
 perl/Makefile.PL             |    3 +
 6 files changed, 1320 insertions(+), 1088 deletions(-)
 create mode 100644 perl/Git/SVN/Editor.pm
 create mode 100644 perl/Git/SVN/Memoize/YAML.pm
 create mode 100644 perl/Git/SVN/Ra.pm