grim/hgkeeper
Clone
Summary
Browse
Changes
Graph
Rename the --disable-http serve flag to --disable-hgweb.
2022-03-07, Gary Kramlich
f70ee21d6c1c
Rename the --disable-http serve flag to --disable-hgweb.
The HTTP interface will be required going forward.
package
commands
import
(
"github.com/gliderlabs/ssh"
"keep.imfreedom.org/grim/hgkeeper/hg"
)
func
run
(
repoPath
,
username
string
,
hgCmd
*
hg
.
Command
,
session
ssh
.
Session
)
error
{
return
hgCmd
.
ExecPiped
(
repoPath
,
username
,
session
,
session
,
session
.
Stderr
())
}