author | Vadim Gelfer <vadim.gelfer@gmail.com> |
Thu, 11 May 2006 09:44:11 -0700 | |
changeset 2265 | 3e4a1a0739c2 |
parent 2264 | fdb699b5e132 (current diff) |
parent 2263 | 2f64cbaa1e92 (diff) |
child 2266 | 3f7692b0ff13 |
--- a/mercurial/util.py Thu May 11 09:43:50 2006 -0700 +++ b/mercurial/util.py Thu May 11 09:44:11 2006 -0700 @@ -597,6 +597,7 @@ def os_rcpath(): '''return default os-specific hgrc search path''' path = [] + # old mod_python does not set sys.argv if len(getattr(sys, 'argv', [])) > 0: path.extend(rcfiles(os.path.dirname(sys.argv[0]) + '/../etc/mercurial'))