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