diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-03-09 03:50:34 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-03-09 10:10:18 -0800 |
commit | 7317ed906a17c91593f38831412379d4429528db (patch) | |
tree | 4b60f5a269adf2377b81902ff48ef336388d2f7a /contrib/git-svn/git-svn.perl | |
parent | contrib/git-svn: fix svn compat and fetch args (diff) | |
download | tgif-7317ed906a17c91593f38831412379d4429528db.tar.xz |
contrib/git-svn: remove the --no-stop-on-copy flag
Output a big warning if somebody actually has a pre-1.0 version
of svn that doesn't support it.
Thanks to Yann Dirson for reminding me it still existed
and attempting to re-enable it :)
I think I subconciously removed support for it earlier...
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'contrib/git-svn/git-svn.perl')
-rwxr-xr-x | contrib/git-svn/git-svn.perl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/git-svn/git-svn.perl b/contrib/git-svn/git-svn.perl index dca4e5c412..43b50ecfb7 100755 --- a/contrib/git-svn/git-svn.perl +++ b/contrib/git-svn/git-svn.perl @@ -1019,6 +1019,17 @@ sub svn_compat_check { if (grep /usage: checkout URL\[\@REV\]/,@co_help) { $_svn_co_url_revs = 1; } + + # I really, really hope nobody hits this... + unless (grep /stop-on-copy/, (safe_qx(qw(svn log -h)))) { + print STDERR <<''; +W: The installed svn version does not support the --stop-on-copy flag in + the log command. + Lets hope the directory you're tracking is not a branch or tag + and was never moved within the repository... + + $_no_stop_copy = 1; + } } # *sigh*, new versions of svn won't honor -r<rev> without URL@<rev>, |