--- 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])