Merge git://git.bogomips.org/git-svn
* git://git.bogomips.org/git-svn: git svn: consistent spacing after "W:" in warnings git svn: ignore partial svn:mergeinfo
This commit is contained in:
commit
1cc625fd7a
@ -1493,13 +1493,18 @@ sub lookup_svn_merge {
|
||||
my @merged_commit_ranges;
|
||||
# find the tip
|
||||
for my $range ( @ranges ) {
|
||||
if ($range =~ /[*]$/) {
|
||||
warn "W: Ignoring partial merge in svn:mergeinfo "
|
||||
."dirprop: $source:$range\n";
|
||||
next;
|
||||
}
|
||||
my ($bottom, $top) = split "-", $range;
|
||||
$top ||= $bottom;
|
||||
my $bottom_commit = $gs->find_rev_after( $bottom, 1, $top );
|
||||
my $top_commit = $gs->find_rev_before( $top, 1, $bottom );
|
||||
|
||||
unless ($top_commit and $bottom_commit) {
|
||||
warn "W:unknown path/rev in svn:mergeinfo "
|
||||
warn "W: unknown path/rev in svn:mergeinfo "
|
||||
."dirprop: $source:$range\n";
|
||||
next;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user