lib/vvm/installer.rb in vvm-rb-1.0.4 vs lib/vvm/installer.rb in vvm-rb-1.0.5
- old
+ new
@@ -14,9 +14,10 @@
repo = vimorg_dir
system("hg -q clone #{VIM_URI} #{repo}") unless File.exist?(repo)
end
def self.pull
+ fetch unless File.exist?(vimorg_dir)
Dir.chdir(vimorg_dir) { system('hg -q pull') }
end
def checkout
src = src_dir