Simplify fossil checkouts
This commit is contained in:
parent
dd2446ab08
commit
7e844cad1c
@ -729,8 +729,9 @@ end
|
|||||||
class FossilDownloadStrategy < VCSDownloadStrategy
|
class FossilDownloadStrategy < VCSDownloadStrategy
|
||||||
def stage
|
def stage
|
||||||
super
|
super
|
||||||
safe_system fossilpath, "open", @clone
|
args = [fossilpath, "open", @clone]
|
||||||
safe_system fossilpath, "checkout", @ref if @ref_type && @ref
|
args << @ref if @ref_type && @ref
|
||||||
|
safe_system(*args)
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user