clarified setup_repository: even more uniform pull vs. clone (see also e84cba30d7ff);
--- a/src/Pure/General/mercurial.scala Tue Nov 01 01:25:54 2016 +0100
+++ b/src/Pure/General/mercurial.scala Tue Nov 01 14:59:50 2016 +0100
@@ -54,7 +54,7 @@
case None => root.is_dir
case Some(ssh) => ssh.is_dir(root)
}
- if (present) { val hg = repository(root, ssh = ssh); hg.pull(); hg }
+ if (present) { val hg = repository(root, ssh = ssh); hg.pull(remote = source); hg }
else clone_repository(source, root, options = "--noupdate", ssh = ssh)
}