X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=git-svn.perl;h=d8b38c9a47c0b77dd55781a66e42e4dec26fd4b7;hb=b85997d14d1873a4baa3d04966cd5947e6134acd;hp=1195569529401fd1c62414c8683a6b577721c1c7;hpb=686bc52a897abfa2497c8f137f06e44c8e559659;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;