mercurial/dispatch.py
changeset 9436 96379c93ba6f
parent 9411 8e6019b16a7d
child 9467 4c041f1ee1b4
child 9567 02c43e8e0835
--- a/mercurial/dispatch.py	Thu Sep 10 10:31:12 2009 +0200
+++ b/mercurial/dispatch.py	Wed Sep 09 11:12:36 2009 +0200
@@ -335,7 +335,7 @@
     path = _findrepo(os.getcwd()) or ""
     if not path:
         lui = ui
-    if path:
+    else:
         try:
             lui = ui.copy()
             lui.readconfig(os.path.join(path, ".hg", "hgrc"))