【发布时间】:2018-03-10 03:41:08
【问题描述】:
我希望我可以把它放在我的mercurial.ini:
[ui]
ssh = C:\Windows\System32\bash.exe -c ssh
因为C:\Windows\System32\bash.exe -c ssh 看起来它正在工作:
C:\Users\mpen>C:\Windows\System32\bash.exe -c ssh
usage: ssh [-1246AaCfGgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
[-D [bind_address:]port] [-E log_file] [-e escape_char]
[-F configfile] [-I pkcs11] [-i identity_file] [-L address]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
[-Q query_option] [-R address] [-S ctl_path] [-W host:port]
[-w local_tun[:remote_tun]] [user@]hostname [command]
但是当我 hg pull 或 hg clone 时,它只是挂起。有什么技巧可以让它工作,还是不允许做这样的跨操作系统的事情?
【问题讨论】:
标签: windows bash ubuntu mercurial