Code

git svn: fix --revision when fetching deleted paths
authorEric Wong <normalperson@yhbt.net>
Mon, 21 Dec 2009 10:06:04 +0000 (02:06 -0800)
committerEric Wong <normalperson@yhbt.net>
Mon, 21 Dec 2009 10:32:39 +0000 (02:32 -0800)
commit577e9fcad2c8968846b365226b89778050496a78
treeef5429b5a0e1fc13c57c734ab340d07e4597c882
parentab0964d951e4ea88f9ea2cbb88388c1bcd4ae911
git svn: fix --revision when fetching deleted paths

When using the -r/--revision argument to fetch deleted history,
calling SVN::Ra::get_log() from an SVN::Ra object initialized
to track the deleted URL will fail.

This regression was introduced in:
  commit 4aacaeb3dc82bb6479e70e120053dc27a399460e
  "fix shallow clone when upstream revision is too new"

We now ignore errors from SVN::Ra::get_log() here because using
--revision will always override the value of $head here if
(and only if) we're tracking deleted directories.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl