( )⚙ D2922 rebase: look up default date outside of conclude[memory]node()

This is an archive of the discontinued Mercurial Phabricator instance.

rebase: look up default date outside of conclude[memory]node()
ClosedPublic

Authored by martinvonz on Mar 21 2018, 2:10 PM.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Mar 21 2018, 2:10 PM
indygreg accepted this revision.Mar 21 2018, 7:46 PM
indygreg added a subscriber: indygreg.
indygreg added inline comments.
hgext/rebase.py
449–451

We could probably write this as date = self.date or ctx.date(), since date values can never be an empty string. But this is strictly equivalent to what came before. So meh.

This revision is now accepted and ready to land.Mar 21 2018, 7:46 PM
This revision was automatically updated to reflect the committed changes.