avoid hardlinks, for more robustness on Windows file-systems;
authorwenzelm
Sun, 14 May 2017 12:50:55 +0200
changeset 65818 94cad7590015
parent 65814 3039d4aa7143
child 65819 ff3dc9325eaa
avoid hardlinks, for more robustness on Windows file-systems;
src/Pure/General/mercurial.scala
--- a/src/Pure/General/mercurial.scala	Sun May 14 12:06:52 2017 +0200
+++ b/src/Pure/General/mercurial.scala	Sun May 14 12:50:55 2017 +0200
@@ -68,7 +68,7 @@
         case Some(ssh) => ssh.is_dir(root)
       }
     if (present) { val hg = repository(root, ssh = ssh); hg.pull(remote = source); hg }
-    else clone_repository(source, root, options = "--noupdate", ssh = ssh)
+    else clone_repository(source, root, options = "--pull --noupdate", ssh = ssh)
   }
 
   class Repository private[Mercurial](root_path: Path, ssh: Option[SSH.Session])