git-svn: match SVN 1.5 behaviour of info' on unknown item
commit2cf3e3ac02c42cf0ba9299589db644beb395c4c5
authorThomas Rast <trast@student.ethz.ch>
Fri, 29 Aug 2008 13:42:48 +0000 (29 15:42 +0200)
committerEric Wong <normalperson@yhbt.net>
Fri, 5 Sep 2008 23:58:39 +0000 (5 16:58 -0700)
treeff0cc0746ef1f79d3a340028eda862e090b7f188
parent05427b91f0b5e45688cbea21faf0f2d79ec07b21
git-svn: match SVN 1.5 behaviour of info' on unknown item

Previously 'git svn info unknown-file' only announced its failure (in
the SVN 1.4 style, "not a versioned resource"), and exited
successfully.

It is desirable to actually exit with failure, so change the code to
exit(1) under this condition.  Since that is already halfway SVN 1.5
compatibility, also change the error output to match 1.5.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl