git-svn: use SVN::Ra::get_dir2 when possible
commit7ffa35b0479dac547659f06b8a6ea7d31c57cc05
authorEric Wong <normalperson@yhbt.net>
Fri, 31 Oct 2014 10:34:03 +0000 (31 10:34 +0000)
committerEric Wong <normalperson@yhbt.net>
Fri, 31 Oct 2014 10:34:54 +0000 (31 10:34 +0000)
tree2b855ab3e122f13da3be989379012d4d0205e0d2
parentda0bc948ac2e01652a150fd4a57cebad6143242c
git-svn: use SVN::Ra::get_dir2 when possible

This avoids the following failure with normal "get_dir" on newer
versions of SVN (tested with SVN 1.8.8-1ubuntu3.1):

  Incorrect parameters given: Could not convert '%ld' into a number

get_dir2 also has the potential to be more efficient by requesting
less data.

ref: <1414636504.45506.YahooMailBasic@web172304.mail.ir2.yahoo.com>
ref: <1414722617.89476.YahooMailBasic@web172305.mail.ir2.yahoo.com>

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Cc: Hin-Tak Leung <htl10@users.sourceforge.net>
perl/Git/SVN/Ra.pm