Commit dd02e8e
isl-server: tell sapling CLI to not spawn an editor
Summary:
See also D71572659. ISL wants sapling CLI commands to be non-interactive but
editors like `vim` can still block forever.
Let's explicitly set the editor to a non-blocking executable to avoid
surprises. ISL shouldn't normally use the interactive editor, but it's good to
be defensive so if we accidentally trigger the editor, it won't hang forever.
I choose `HGEDITOR` because it has the highest priority that overrides other
configs like `ui.editor` and `EDITOR`.
Reviewed By: muirdm
Differential Revision: D71653280
fbshipit-source-id: 00e8cc6aeded2d4910bf99c657212d5eb61e863e1 parent e43eb9c commit dd02e8e
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
196 | 199 | | |
197 | 200 | | |
198 | 201 | | |
| |||
208 | 211 | | |
209 | 212 | | |
210 | 213 | | |
211 | | - | |
| 214 | + | |
212 | 215 | | |
213 | 216 | | |
214 | 217 | | |
| |||
0 commit comments