git-svn: fix segfaults from accessing svn_log_changed_path_t
commit3ebe8df7f690281c21e330eec156098c14f4e685
authorEric Wong <normalperson@yhbt.net>
Fri, 26 Jan 2007 01:35:40 +0000 (25 17:35 -0800)
committerEric Wong <normalperson@yhbt.net>
Fri, 23 Feb 2007 08:57:10 +0000 (23 00:57 -0800)
treeee62fbc750d8058bee6ffc3c1ff55383d2c2f622
parente5a0b240fc237af6165b728ae9c79288ef624d3b
git-svn: fix segfaults from accessing svn_log_changed_path_t

svn_log_changed_path_t structs were being used out of scope
outside of svn_ra_get_log (because I wanted to eventually be
able to use git-svn with only a single connection to the
repository).  So now we dup them into a hash.

This was fixed while making --follow-parent fetches more
efficient.  I've moved parsing of the command-line --revision
argument outside of the Git::SVN module so Git::SVN::fetch() can
be used in more places (such as find_parent_branch).

Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl
t/t9104-git-svn-follow-parent.sh