0
我試圖做的承諾,並使用Mercurial.Net
庫推:獲取控制檯輸出Mercurial.Net
var repo = new Repository(repositoryPath);
var branchCommand = new BranchCommand { Name = branch };
repo.Branch(branchCommand);
var commitCommand = new CommitCommand { Message = commitMessage, OverrideAuthor = author };
repo.Commit(commitCommand);
var pushCommand = new PushCommand { AllowCreatingNewBranch = true, Force = true, };
repo.Push(pushCommand);
在repo.Push(pushCommand)
它拋出一個異常Mercurial.MercurialExecutionException
與消息「中止:訪問被拒絕」。
現在的問題是:有沒有辦法在Mercurial.Net
獲得mercurial console的輸出?