author | TK Soh <teekaysoh@yahoo.com> |
Fri, 27 Jun 2008 18:02:38 +0800 | |
changeset 1168 | 085868e85476 |
parent 1167 | 6409f7d79f8a |
child 1171 | d7bebeef8dd1 |
contrib/hgtk | file | annotate | diff | comparison | revisions |
--- a/contrib/hgtk Wed Jun 18 01:06:09 2008 +0100 +++ b/contrib/hgtk Fri Jun 27 18:02:38 2008 +0800 @@ -68,7 +68,7 @@ root = hglib.rootpath(cwd) opts = { 'root' : root, 'cwd' : cwd } - if root is None and command not in nonrepo_commands: + if not root and command not in nonrepo_commands: print 'No repository found, and', command, 'requires one.' sys.exit(1)