This makes it much clearer because each test case can have exactly the
graph it wants (no extra cruft just because other tests want it).
Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Nice rewrite! I have gone through the history of this file, discussion at https://bz.mercurial-scm.org/1950 and all look good.
I think this can be committed as-is.
tests/test-rebase-detach.t | ||
---|---|---|
86 | ||
215–222 | Could be slightly simplified to: > H > | G > |/| > F E > |/ > A |
tests/test-rebase-detach.t | ||
---|---|---|
86 | True, it seems like something we test in about 10 other places in rebase tests. It also seems like the first test case in this file can be removed. It seems like that would be covered by the second. But yes, I just wanted to simplify in this patch. |
This test case seems removable. The --detach option was added by 66d954e76, and removed by 50f434510.
I guess you are aware of this and just wanted the new code to be functionally equivalent to the old code.