First, that logic is complicated enough to be in it own function. Second, we
want to start adding alternative path within the merge code so we need this logic
easily accessible in multiple places.
Details
Details
- Reviewers
Alphare pulkit - Group Reviewers
hg-reviewers - Commits
- rHG61afe6215aef: copies-rust: extract conflicting value comparison in its own function
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
rust/hg-core/src/copy_tracing.rs | ||
---|---|---|
541 | IIUC, s/p1/p2 right? |
Comment Actions
Agree with Pulkit on the comment
rust/hg-core/src/copy_tracing.rs | ||
---|---|---|
509 | It's better to have a readable error string in unreachable! than nothing. |
It's better to have a readable error string in unreachable! than nothing.