Simplify fossil checkouts

This commit is contained in:
Jack Nagel 2014-12-06 16:48:20 -05:00
parent dd2446ab08
commit 7e844cad1c

View File

@ -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