dag: Always select the top-most commit
commitf065349b5f22078d70c60df8e2414a6a74b572c0
authorDavid Aguilar <davvid@gmail.com>
Wed, 28 Dec 2011 08:53:52 +0000 (28 00:53 -0800)
committerDavid Aguilar <davvid@gmail.com>
Wed, 28 Dec 2011 08:53:52 +0000 (28 00:53 -0800)
tree9e3694a32a21cb67aecc785425fcb227de411736
parentfb252d07fb5cf634a2a426642e201d8d9935629f
dag: Always select the top-most commit

Handle the case where dag.ref is a revision expression by simply
selecting the top-most (last) node added to the graph.

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