equal
deleted
inserted
replaced
751 else use item. |
751 else use item. |
752 make HGRCPATH empty to only look in .hg/hgrc of current repo. |
752 make HGRCPATH empty to only look in .hg/hgrc of current repo. |
753 if no HGRCPATH, use default os-specific path.''' |
753 if no HGRCPATH, use default os-specific path.''' |
754 global _rcpath |
754 global _rcpath |
755 if _rcpath is None: |
755 if _rcpath is None: |
756 if 'HGRCPATH' in os.environ: |
756 if 'HGRCPATH' in encoding.environ: |
757 _rcpath = [] |
757 _rcpath = [] |
758 for p in os.environ['HGRCPATH'].split(os.pathsep): |
758 for p in os.environ['HGRCPATH'].split(os.pathsep): |
759 if not p: |
759 if not p: |
760 continue |
760 continue |
761 p = util.expandpath(p) |
761 p = util.expandpath(p) |