diff options
author | Eric Wong <normalperson@yhbt.net> | 2007-01-22 15:47:41 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2007-02-23 00:57:09 -0800 |
commit | 07a1c95045a8c4983d3868f6070d9fa9ba5ff596 (patch) | |
tree | 7bf9170c6ec79a7cda6a123ce7b2896b6de2d565 /git-svn.perl | |
parent | a2003abc23a5961534e8a0cc70b881eb78d54328 (diff) | |
download | git-07a1c95045a8c4983d3868f6070d9fa9ba5ff596.tar.gz |
git-svn: get rid of additional fetch-arguments
It's not really useful anymore now that we have a better
--follow-parent for the valid cases. Any other use
of it is not valid.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-x | git-svn.perl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/git-svn.perl b/git-svn.perl index 88c022701d..2e3d35527e 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -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}); |