Changeset 085868e85476…
Parent 6409f7d79f8a…
by
Changes to one file · Browse files at 085868e85476 Showing diff from parent 6409f7d79f8a Diff from another changeset...
@@ -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)
|
Loading...