diff mercurial/localrepo.py @ 1893:6569651a4f1e

Read paths specified in .hg/hgrc relative to repo root, otherwise to home dir.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sun, 12 Mar 2006 20:13:58 +0100
parents c4d577262d00
children d7c038e805e9 6d50d6189269
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sun Mar 12 18:05:13 2006 +0100
+++ b/mercurial/localrepo.py	Sun Mar 12 20:13:58 2006 +0100
@@ -47,7 +47,7 @@
 
         self.dirstate = dirstate.dirstate(self.opener, self.ui, self.root)
         try:
-            self.ui.readconfig(self.join("hgrc"))
+            self.ui.readconfig(self.join("hgrc"), self.root)
         except IOError:
             pass