Code

Revert "builtin-archive: use RUN_SETUP"
[git.git] / git-svn.perl
index 278f45d6d0669afc3bb7f5b002d76f314c4e22f0..d307d430f3a9475ff6db3fb73bad44bf37dfa404 100755 (executable)
@@ -435,6 +435,9 @@ sub cmd_rebase {
        }
 
        my $gs = Git::SVN->find_by_url($url);
+       unless ($gs) {
+               die "Unable to determine remote information from URL: $url\n";
+       }
        if (command(qw/diff-index HEAD --/)) {
                print STDERR "Cannot rebase with uncommited changes:\n";
                command_noisy('status');