summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1d52aba)
raw | patch | inline | side by side (parent: 1d52aba)
author | Eric Wong <normalperson@yhbt.net> | |
Thu, 9 Mar 2006 11:50:34 +0000 (03:50 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 9 Mar 2006 18:10:18 +0000 (10:10 -0800) |
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>
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>
contrib/git-svn/git-svn.perl | patch | blob | history | |
contrib/git-svn/git-svn.txt | patch | blob | history |
index dca4e5c412ed762c6374442a29c2843d886e653f..43b50ecfb77c97f0c13d855b199425930db01e18 100755 (executable)
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>,
index 5fb5b7c88cc46d6bbdb8e2844a1f76c12ec66bb1..7a6e0c4a4aee8b77f42b02a9ce66b52ff8b4696d 100644 (file)
Otherwise, do not enable this flag unless you know what you're
doing.
---no-stop-on-copy::
- Only used with the 'fetch' command.
-
- By default, git-svn passes --stop-on-copy to avoid dealing with
- the copied/renamed branch directory problem entirely. A
- copied/renamed branch is the result of a <SVN_URL> being created
- in the past from a different source. These are problematic to
- deal with even when working purely with svn if you work inside
- subdirectories.
-
- Do not use this flag unless you know exactly what you're getting
- yourself into. You have been warned.
-
Basic Examples
~~~~~~~~~~~~~~