from
is not nil but ""
on shallow clone [ci skip]
This commit is contained in:
parent
151b7d72bd
commit
c222f4d31f
@ -490,7 +490,7 @@ class VCS
|
|||||||
end
|
end
|
||||||
rev unless rev.empty?
|
rev unless rev.empty?
|
||||||
end
|
end
|
||||||
unless (from ||= branch_beginning(url))
|
unless /./.match?(from ||= branch_beginning(url))
|
||||||
raise "cannot find the beginning revision of the branch"
|
raise "cannot find the beginning revision of the branch"
|
||||||
end
|
end
|
||||||
range = [from, (to || 'HEAD')].join('^..')
|
range = [from, (to || 'HEAD')].join('^..')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user