Introduce a tac.py helper and use it. Sigh.
Details
Details
- Reviewers
martinvonz - Group Reviewers
hg-reviewers - Commits
- rHG2ad56a9b983b: tests: work around `tac` not being portable
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
tests/test-fix.t | ||
---|---|---|
1125 | Could the tool be sort -r? I know that's not generally equivalent to tac, but it seems like it might work here (it's kind of a reasonable fix tool too). |
tests/test-fix.t | ||
---|---|---|
1125 | It probably could, but I don't feel strongly either way. Do you? |
tests/test-fix.t | ||
---|---|---|
1125 | Not very, but strongly enough that'd I've tested that the test passes. I can queue this and send a followup. |
Could the tool be sort -r? I know that's not generally equivalent to tac, but it seems like it might work here (it's kind of a reasonable fix tool too).