In D12581 I introduced logic to remove the previous dirstate-v2 data file
after a new one is created (and its corresponding docket), but the logic was
flawed. I fixed it and made it simpler to understand by gather all logic in
a single expression.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHGf2ef6a4f918f: rhg: fix dirstate-v2 data file removal system
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
✅ refresh by Heptapod after a successful CI run (🐙 💚)
⚠ This patch is intended for stable ⚠
Comment Actions
✅ refresh by Heptapod after a successful CI run (🐙 💚)
⚠ This patch is intended for stable ⚠
tests/test-dirstate.t | ||
---|---|---|
137 | I know this already landed, but I don't think bash or dash allow you to match variables with globs like that. In my limited testing this was always echoing no: P=rust+c if [ "$P" = *"rust"* ]; then echo yes; else echo no; fi |
I know this already landed, but I don't think bash or dash allow you to match variables with globs like that. In my limited testing this was always echoing no: