X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=git-svn.perl;h=d8b38c9a47c0b77dd55781a66e42e4dec26fd4b7;hb=16007f3916b885d29de6c48832aa6a4213ab7588;hp=1195569529401fd1c62414c8683a6b577721c1c7;hpb=b59fd2098e6606e1a696fc1cafe897e074ed6d6f;p=git.git diff --git a/git-svn.perl b/git-svn.perl index 119556952..d8b38c9a4 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -522,7 +522,8 @@ sub cmd_dcommit { } sub cmd_find_rev { - my $revision_or_hash = shift; + my $revision_or_hash = shift or die "SVN or git revision required ", + "as a command-line argument\n"; my $result; if ($revision_or_hash =~ /^r\d+$/) { my $head = shift;