tuned signature;
authorwenzelm
Sat, 08 Apr 2023 16:59:20 +0200
changeset 77786 3badbb7bc7ed
parent 77785 721b3278c8e4
child 77787 b20ac2c26ea3
tuned signature;
src/Pure/General/mercurial.scala
--- a/src/Pure/General/mercurial.scala	Sat Apr 08 16:58:01 2023 +0200
+++ b/src/Pure/General/mercurial.scala	Sat Apr 08 16:59:20 2023 +0200
@@ -131,11 +131,8 @@
         error("No .hg_sync meta data in " + ssh.rsync_path(root))
       }
 
-    def is_directory(root: Path, ssh: SSH.System = SSH.Local): Boolean =
-      ssh.is_dir(root + PATH)
-
     def directory(root: Path, ssh: SSH.System = SSH.Local): Directory = {
-      if (is_directory(root, ssh = ssh)) new Directory(root, ssh)
+      if (ssh.is_dir(root + PATH)) new Directory(root, ssh)
       else error("No .hg_sync directory found in " + ssh.rsync_path(root))
     }