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