bisect-kit: fix bisector 'view' subcommand

'view' subcommand may fail when re-generate revlist. This affected all
bisectors using codechange module.

BUG=chromium:898431
TEST=/bisect_android_repo.py init --old 5055130 --new 5056166 --branch git_pi-arc

Change-Id: I7c56b8044ccd63bdc402d259fddcfb06f675ed1d
Reviewed-on: https://chromium-review.googlesource.com/1309853
Commit-Ready: Kuang-che Wu <kcwu@chromium.org>
Tested-by: Kuang-che Wu <kcwu@chromium.org>
Reviewed-by: Chung-yih Wang <cywang@chromium.org>
diff --git a/bisect_kit/cli.py b/bisect_kit/cli.py
index 4a369c1..ef54dbd 100644
--- a/bisect_kit/cli.py
+++ b/bisect_kit/cli.py
@@ -476,7 +476,8 @@
     self.strategy.rebuild()
     self.strategy.show_summary(more=opts.more)
     left, right = self.strategy.get_range()
-    self.domain.view(self.states.idx2rev(left), self.states.idx2rev(right))
+    self.domain.view(self.states.data['revlist'], self.states.idx2rev(left),
+                     self.states.idx2rev(right))
 
   def current_status(self, session=None, session_base=None):
     """Gets current bisect status.