mirror of
https://github.com/facebook/sapling.git
synced 2024-12-29 08:02:24 +03:00
2117806dc7
Summary: Convert dummyssh and get_free_socket to full python3 binaries. Reviewed By: johansglock Differential Revision: D23105490 fbshipit-source-id: 6c39c32ba0728cde108b42245acece1d7828ac7c
32 lines
934 B
Perl
32 lines
934 B
Perl
#chg-compatible
|
|
|
|
$ configure dummyssh
|
|
|
|
Test wire protocol argument passing
|
|
|
|
Setup repo:
|
|
|
|
$ hg init repo
|
|
|
|
Local:
|
|
|
|
$ hg debugwireargs repo eins zwei --three drei --four vier
|
|
eins zwei drei vier None
|
|
$ hg debugwireargs repo eins zwei --four vier
|
|
eins zwei None vier None
|
|
$ hg debugwireargs repo eins zwei
|
|
eins zwei None None None
|
|
$ hg debugwireargs repo eins zwei --five fuenf
|
|
eins zwei None None fuenf
|
|
|
|
SSH (try to exercise the ssh functionality with a dummy script):
|
|
|
|
$ hg debugwireargs --ssh "$(dummysshcmd)" ssh://user@dummy/repo uno due tre quattro
|
|
uno due tre quattro None
|
|
$ hg debugwireargs --ssh "$(dummysshcmd)" ssh://user@dummy/repo eins zwei --four vier
|
|
eins zwei None vier None
|
|
$ hg debugwireargs --ssh "$(dummysshcmd)" ssh://user@dummy/repo eins zwei
|
|
eins zwei None None None
|
|
$ hg debugwireargs --ssh "$(dummysshcmd)" ssh://user@dummy/repo eins zwei --five fuenf
|
|
eins zwei None None None
|