git-svn: fix fetch with moved path when using rewriteRoot
[gitweb.git] / git-svn.perl
index 96f373f81a7716b6690a1e9c1519860fcfbc06c6..32792d3ef344a85f97720f92b9488245a848354d 100755 (executable)
@@ -3022,7 +3022,7 @@ sub other_gs {
                        my (undef, $max_commit) = $gs->rev_map_max(1);
                        last if (!$max_commit);
                        my ($url) = ::cmt_metadata($max_commit);
-                       last if ($url eq $gs->full_url);
+                       last if ($url eq $gs->metadata_url);
                        $ref_id .= '-';
                }
                print STDERR "Initializing parent: $ref_id\n" unless $::_q > 1;