git-svn: correctly display fatal() error messages
If I wanted to print $@, I'd pass $@ to fatal(). This looks like a stupid typo on my part. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:

committed by
Junio C Hamano

parent
dd31da2fdc
commit
6fda05aebe
@ -31,7 +31,7 @@ my %SKIP = ( 'svn:wc:ra_dav:version-url' => 1,
|
|||||||
'svn:entry:committed-date' => 1,
|
'svn:entry:committed-date' => 1,
|
||||||
);
|
);
|
||||||
|
|
||||||
sub fatal (@) { print STDERR $@; exit 1 }
|
sub fatal (@) { print STDERR @_; exit 1 }
|
||||||
# If SVN:: library support is added, please make the dependencies
|
# If SVN:: library support is added, please make the dependencies
|
||||||
# optional and preserve the capability to use the command-line client.
|
# optional and preserve the capability to use the command-line client.
|
||||||
# use eval { require SVN::... } to make it lazy load
|
# use eval { require SVN::... } to make it lazy load
|
||||||
|
Reference in New Issue
Block a user