0
我试图创建一个别名并允许我提交我的更改并推送当前分支的所有更改集。
我从Windows命令提示符运行此。创建一个运行两条命令并采用一个参数的Mercurial别名
我读过this question和this question,到目前为止,有这样的:
ci-push = !hg ci -m $1 && hg push -b .
当我尝试这样我得到的错误:
abort: Commit: The system cannot find the file specified
如果我尝试:
ci-push = !hg ci -m %1 && hg push -b .
然后它似乎工作(提示auth并推送提交),但我的提交消息是:
%1
这甚至可以从Windows cmd提示吗?