Just a little refactoring to prepare for the next patch.
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
hgext/rebase.py | ||
---|---|---|
1813 | I am not sure why we are doing bases[i] = bases[0] here? (TBH I didn't try to understand the whole logic, mostly only the diff) |
hgext/rebase.py | ||
---|---|---|
1813 | Doing it only for consistency with newps. bases and newps should be kept in sync (we don't do that in one other place, but that's pretty weird, IMO). So I think it's clearer this way even though it's unnecessary. |
I am not sure why we are doing bases[i] = bases[0] here? (TBH I didn't try to understand the whole logic, mostly only the diff)