b8654f4e6386

Fix the message when cloning an existing review data store.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 01 May 2010 11:48:45 -0400
parents c43c4b53762b
children 9d032dbf867d
branches/tags (none)
files review/extension_ui.py

Changes

--- a/review/extension_ui.py	Sat Mar 27 13:20:50 2010 -0400
+++ b/review/extension_ui.py	Sat May 01 11:48:45 2010 -0400
@@ -31,7 +31,7 @@
     
     try:
         ReviewDatastore(ui, repo, rpath=opts.pop('remote_path'), create=True)
-        if '.hgreview' not in repo['tip'].files():
+        if '.hgreview' not in repo['tip'].manifest():
             ui.status(messages.INIT_SUCCESS_UNCOMMITTED)
         else:
             ui.status(messages.INIT_SUCCESS_CLONED)