review mode: Allow reviewing the current branch
commit675674cc67f799ba431ae59ac0c7b7d98a04e1e7
authorDavid Aguilar <davvid@gmail.com>
Mon, 1 Feb 2010 23:39:36 +0000 (1 15:39 -0800)
committerDavid Aguilar <davvid@gmail.com>
Mon, 1 Feb 2010 23:39:36 +0000 (1 15:39 -0800)
tree20bed9d99a44d487564cdbe81e1d91eb282f28c2
parent80205ea16fd69c345e780b6794afa328fafa16eb
review mode: Allow reviewing the current branch

Review mode used to always find the merge-base with HEAD.
We now search for a tracked branch and then fallback to
'master' if no tracked branch exists.

This is consistent with the common topic-branch workflow.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/commands.py
cola/gitcmds.py