diff mercurial/util.py @ 2263:2f64cbaa1e92

make reason for sys.argv change obvious in code.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Thu, 11 May 2006 09:01:32 -0700
parents 3d48eb68f3ee
children 90b122730d32
line wrap: on
line diff
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -597,6 +597,7 @@ else:
     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'))