Mercurial - use post-fix if
This commit is contained in:
parent
a4ed7ff619
commit
6435413656
@ -243,7 +243,7 @@ class MercurialDownloadStrategy <AbstractDownloadStrategy
|
||||
url=@url.sub(%r[^hg://], '')
|
||||
|
||||
unless @clone.exist?
|
||||
safe_system 'hg', 'clone', url, @clone
|
||||
safe_system 'hg', 'clone', *checkout_args
|
||||
else
|
||||
puts "Updating #{@clone}"
|
||||
Dir.chdir(@clone) { safe_system 'hg', 'update' }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user