Yuya Nishihara
6bbf4c6fcf
tests: extract log template function/variable for code readability
...
Also rewrites some lengthy templates. That's why the test output slightly
changed.
2023-03-01 16:39:23 +09:00
Martin von Zweigbergk
9887d2c3d6
templater: use reverse-alphabet hex for change ids
2023-02-13 22:49:21 -08:00
Martin von Zweigbergk
a67fbb6714
cli: switch default graph style to be Sapling's curved style
...
We seem to quite unanimously prefer this style, so let's make the
default.
2023-02-12 07:23:29 -08:00
Samuel Tardieu
6e9d3879fd
split: give warning when given paths don't match anything
2023-02-01 07:15:38 +01:00
Samuel Tardieu
fc59db5d52
split: allow creation of empty parent or child
...
jj split . => create an empty child
jj split nonexistent => create an empty parent
2023-01-29 19:23:56 +01:00
Samuel Tardieu
200f40b836
tests: use change id instead of commit id in split tests
2023-01-29 19:23:56 +01:00
Yuya Nishihara
d438f43224
cli: rephrase diff summary header so it can be reused for commit/describe
2022-12-23 00:47:22 +09:00
Yuya Nishihara
5076622598
tests: use insta to test editor contents
...
It's tedious to update editor expectation manually. Let's dump the actual
content and test it after each command invocation.
2022-12-23 00:47:22 +09:00
Martin von Zweigbergk
d8feed9be4
copyright: change from "Google LLC" to "The Jujutsu Authors"
...
Let's acknowledge everyone's contributions by replacing "Google LLC"
in the copyright header by "The Jujutsu Authors". If I understand
correctly, it won't have any legal effect, but maybe it still helps
reduce concerns from contributors (though I haven't heard any
concerns).
Google employees can read about Google's policy at
go/releasing/contributions#copyright.
2022-11-28 06:05:45 -10:00
Ilya Grigoriev
092aca46c0
Test split commit message
...
In particular, tests functionality from cf3b6ee2
2022-11-24 20:29:17 -08:00
Martin von Zweigbergk
0865b1ccff
cli: show placeholder text for empty commit message
...
It can be confusing that some commits (typically the working copy)
don't have a description. Let's show a placeholder text in such cases.
I chose the format to match the "(no email configured)" message we
already have.
2022-05-18 09:16:04 -07:00
Martin von Zweigbergk
8ef00a3498
tests: re-run with insta
crate version b9d99e87065b
2022-04-28 16:55:10 -07:00
Martin von Zweigbergk
109a9422f0
cli: teach jj split
to include all specified paths in first commit
2022-04-10 09:13:51 -07:00