git-svn log: handle unreachable revisions like "svn log"
commit111947ef8cd3071faadb527c20047efd4330138a
authorDavid D Kilzer <ddkilzer@kilzer.net>
Mon, 12 Nov 2007 06:56:52 +0000 (11 22:56 -0800)
committerEric Wong <normalperson@yhbt.net>
Sat, 17 Nov 2007 21:28:21 +0000 (17 13:28 -0800)
treec6ab6bbc3cc27a801127e48dfd628e7068106182
parent60f3ff12573e411476f7a32ab13bbb9b8063c8f7
git-svn log: handle unreachable revisions like "svn log"

When unreachable revisions are given to "svn log", it displays all commit
logs in the given range that exist in the current tree.  (If no commit
logs are found in the current tree, it simply prints a single commit log
separator.)  This patch makes "git-svn log" behave the same way.

Ten tests added to t/t9116-git-svn-log.sh.

Signed-off-by: David D Kilzer <ddkilzer@kilzer.net>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl
t/t9116-git-svn-log.sh