git-svn: get rid of additional fetch-arguments
[gitweb.git] / git-svn.perl
index 88c022701de2d14af64271caf3a9b9ee88970f82..2e3d35527e836bea2bb7a30fb6b39387ed3621a3 100755 (executable)
@@ -277,8 +277,13 @@ sub cmd_init {
 }
 
 sub cmd_fetch {
+       if (@_) {
+               die "Additional fetch arguments are no longer supported.\n",
+                   "Use --follow-parent if you have moved/copied directories
+                   instead.\n";
+       }
        my $gs = Git::SVN->new;
-       $gs->fetch(@_);
+       $gs->fetch;
        if ($gs->{last_commit} && !verify_ref('refs/heads/master^0')) {
                command_noisy(qw(update-ref refs/heads/master),
                              $gs->{last_commit});