Post to ReviewBoard dialog - remove unnecessary automation for parent revision, use the same behaviour as for diff
Created originally on Bitbucket by gorbunovav (Andrey Gorbunov)
It is about tortoisehg/hgqt/postreview.py - if pair of revisions was passed, it treats the situation like user wants to include both revisions into the exported diff, so it tries to be smart and detect the parent revision for the exported diff (line 257):
#!python if (len(self.selectedRevs) > 1): ctx = self.repo[self.selectedRevs] opts['parent'] = str(ctx.p1().rev())
I think this solution is less flexible (e.g. I want to export merge changeset - how to specify which parent to use?) and it will be more consistent to use the same behavior, as for standard diff generation: user selects base, against which he wants to see the diff and don't expect to have base revision in the exported diff.