Commits

Anonymous committed ab34bef

Exit extension if there is no projrc file

If there is no projrc file, we have nothing to do, so exit the extension
immediately.

Comments (0)

Files changed (1)

     return includedkeys, excludedkeys
 
 def loadprojrc(ui, projrc, root):
+    if not os.path.exists(projrc):
+        return
+	
     cfg = ui._data(untrusted=False)
 
     pui = ui.copy()