Show More
@@ -153,15 +153,14 b' check strict parsing of early options:' | |||||
153 |
|
153 | |||
154 | check that "histedit --commands=-" can read rules from the input channel: |
|
154 | check that "histedit --commands=-" can read rules from the input channel: | |
155 |
|
155 | |||
156 | >>> import cStringIO |
|
156 | >>> from hgclient import check, readchannel, runcommand, stringio | |
157 | >>> from hgclient import check, readchannel, runcommand |
|
|||
158 | >>> @check |
|
157 | >>> @check | |
159 | ... def serverinput(server): |
|
158 | ... def serverinput(server): | |
160 | ... readchannel(server) |
|
159 | ... readchannel(server) | |
161 | ... rules = b'pick eff892de26ec\n' |
|
160 | ... rules = b'pick eff892de26ec\n' | |
162 | ... runcommand(server, [b'histedit', b'0', b'--commands=-', |
|
161 | ... runcommand(server, [b'histedit', b'0', b'--commands=-', | |
163 | ... b'--config', b'extensions.histedit='], |
|
162 | ... b'--config', b'extensions.histedit='], | |
164 |
... input= |
|
163 | ... input=stringio(rules)) | |
165 | *** runcommand histedit 0 --commands=- --config extensions.histedit= |
|
164 | *** runcommand histedit 0 --commands=- --config extensions.histedit= | |
166 |
|
165 | |||
167 | check that --cwd doesn't persist between requests: |
|
166 | check that --cwd doesn't persist between requests: |
General Comments 0
You need to be logged in to leave comments.
Login now