Martin von Zweigbergk
866539f977
graphlog: use insta
for tests
...
It's much easier to update the tests with `insta`.
It also presents you with the bad output including real newlines (a
diff, actually), so we can remove the `println!()` calls we had in
order to get readable output without escaped newlines.
2022-05-11 04:42:44 -07:00
Martin von Zweigbergk
cba89886e5
cleanup: replace some for x in xs.iter()
by for x in &xs
2022-05-04 17:02:11 -07:00
Martin von Zweigbergk
4c416dd864
cleanup: let Clippy fix a bunch of warnings
2021-06-14 00:27:31 -07:00
Martin von Zweigbergk
13134bd5a4
cleanup: address warnings reported by new clippy version
2021-04-28 09:12:48 -07:00
Martin von Zweigbergk
f9460e5c52
graphlog: indent long text correctly when edge gets closed
2021-04-23 22:34:34 -07:00
Martin von Zweigbergk
4777421bcf
graphlog: close edges on the right when a chain ends
...
This case is very common in `jj obslog` output and the resulting
graphs are very hard to read.
2021-04-23 22:28:37 -07:00
Martin von Zweigbergk
659393bec2
graphlog: propagate error from failure to write output
...
This is one step towards handling `BrokenPipe` in a central place.
2021-04-07 09:35:56 -07:00
Martin von Zweigbergk
4b8484e561
rustfmt: configure to group imports
2021-03-14 10:46:25 -07:00
Martin von Zweigbergk
6b1427cb46
import commit 0f15be02bf4012c116636913562691a0aaa7aed2 from my hg repo
2020-12-12 00:23:38 -08:00