Yuya Nishihara
58acc1d111
tests: replace jj_cmd_success() involving mutation to allow stderr output
2023-10-11 19:24:01 +09:00
Zachary Dremann
2177dc0657
Allow \0 escape for nulls
...
This allows safely getting e.g. multiple descriptions, and knowing where the
boundaries are
2023-09-14 17:11:05 -04:00
Martin von Zweigbergk
8bfb6c10fd
cli: add jj op log --no-graph
...
Seems useful, and makes it consistent with the `jj log` and `jj
obslog`.
2023-09-10 15:17:43 -07:00
Yuya Nishihara
3bf92a0914
templater: make .short(negative_len) return 0-length string
...
I think this is less surprising than falling back to the default length.
i64-to-usize conversion can also overflow on 32 bit environment, but I'm not
bothered to handle overflow scenario.
2023-08-25 22:59:20 +09:00
Yuya Nishihara
17b45d642f
cli: add "--limit N" option to log-like commands
...
Copied from Mercurial. This isn't a revset predicate since our revset is
conceptually unordered.
2023-08-11 10:40:40 +09:00
Martin von Zweigbergk
0075174308
tests: move tests/
under cli/
so they're run again
...
Thanks to @ilyagr for noticing that they should be moved.
2023-08-05 06:18:59 +00:00