summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 39add7a)
raw | patch | inline | side by side (parent: 39add7a)
author | Eric Wong <normalperson@yhbt.net> | |
Sun, 22 Nov 2009 20:37:06 +0000 (12:37 -0800) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Sun, 22 Nov 2009 20:54:59 +0000 (12:54 -0800) |
The internal no_reuse_existing flag is set to allow initializing
multiple remotes with the same URL, common with SVM users.
Unfortunately, this flag caused misbehavior when used
with the -R command-line flag for fetching.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
multiple remotes with the same URL, common with SVM users.
Unfortunately, this flag caused misbehavior when used
with the -R command-line flag for fetching.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl | patch | blob | history |
diff --git a/git-svn.perl b/git-svn.perl
index 2746895ae620a37c4b84419caf221db8f476e197..7f7a56fbea68f3964f91fd9a324bfe821c9c1bc0 100755 (executable)
--- a/git-svn.perl
+++ b/git-svn.perl
if (@_ > 1) {
die "Usage: $0 fetch [--all] [--parent] [svn-remote]\n";
}
+ $Git::SVN::no_reuse_existing = undef;
if ($_fetch_parent) {
my ($url, $rev, $uuid, $gs) = working_head_info('HEAD');
unless ($gs) {
}
sub cmd_multi_fetch {
+ $Git::SVN::no_reuse_existing = undef;
my $remotes = Git::SVN::read_all_remotes();
foreach my $repo_id (sort keys %$remotes) {
if ($remotes->{$repo_id}->{url}) {