+ chop $http; # no trailing slash
+ my $part = $obj->max_git_part;
+ if (defined($part)) { # v2
+ # most recent partition first:
+ for (; $part >= 0; $part--) {
+ my $url = "$http/$part";
+ $seen{$url} = 1;
+ push @urls, $url;
+ }
+ } else { # v1
+ $seen{$http} = 1;
+ push @urls, $http;
+ }
+
+ # FIXME: partitioning in can be different in other repositories,
+ # use the "cloneurl" file as-is for now: