This is an archive of the discontinued Mercurial Phabricator instance.

rebase: move "backup" flag to rbsrt
ClosedPublic

Authored by khanchi97 on Aug 2 2018, 2:42 PM.

Details

Summary

It was getting messy to populate "backup" flag to calls
of _finishrebase() and _prepareabortorcontinue, so
made some changes to move "backup" flag to rbsrt.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

khanchi97 created this revision.Aug 2 2018, 2:42 PM
pulkit added a subscriber: pulkit.Aug 2 2018, 6:22 PM
pulkit added inline comments.
hgext/rebase.py
349

not A or not B = not (A and B)
not(not A or not B) = A and B

khanchi97 added inline comments.Aug 3 2018, 3:33 AM
hgext/rebase.py
349

Ah, right.

khanchi97 updated this revision to Diff 9815.Aug 3 2018, 3:35 AM
This revision was automatically updated to reflect the committed changes.