author | wenzelm |
Mon, 13 Nov 2017 15:00:21 +0100 | |
changeset 67068 | 46ce32fd5f53 |
parent 67067 | 02729ced9b1e |
child 67069 | f11486d31586 |
--- a/src/Pure/General/mercurial.scala Mon Nov 13 14:39:03 2017 +0100 +++ b/src/Pure/General/mercurial.scala Mon Nov 13 15:00:21 2017 +0100 @@ -94,6 +94,9 @@ ssh.execute(cmdline) } + def add(files: List[Path]): Unit = + hg.command("add", files.map(ssh.bash_path(_)).mkString(" ")) + def archive(target: String, rev: String = "", options: String = ""): Unit = hg.command("archive", opt_rev(rev) + " " + Bash.string(target), options).check