rev being "skipped" could currently be caused by moving rev does not
create a new commit. In this case, state[rev] is already changed to p1,
and is a sane destination for bookmark or working parent movement. Therefore
an additional destination adjustment is unnecessary.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG06b0cc2588de: rebase: remove an unnecessary adjustdest in clearrebased
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
For the record, my testing suggests that the call to adjustdest has been unnecessary ever since the function was introduced in commit 52f82e7d6a7e
Comment Actions
You're right. I didn't realize the old code has state[rev] set. I was avoiding depending on the old defineparents but that turned out to not matter in this case.