mercurial/rcutil.py
changeset 31954 e518192d6bac
parent 31694 10d88dc7c010
child 32078 bf5e13e38390
equal deleted inserted replaced
31953:cc2382b60007 31954:e518192d6bac
    88         normpaths = lambda paths: [('path', os.path.normpath(p)) for p in paths]
    88         normpaths = lambda paths: [('path', os.path.normpath(p)) for p in paths]
    89         _rccomponents = normpaths(defaultrcpath() + systemrcpath())
    89         _rccomponents = normpaths(defaultrcpath() + systemrcpath())
    90         _rccomponents.append(envrc)
    90         _rccomponents.append(envrc)
    91         _rccomponents.extend(normpaths(userrcpath()))
    91         _rccomponents.extend(normpaths(userrcpath()))
    92     return _rccomponents
    92     return _rccomponents
       
    93 
       
    94 def defaultpagerenv():
       
    95     '''return a dict of default environment variables and their values,
       
    96     intended to be set before starting a pager.
       
    97     '''
       
    98     return {'LESS': 'FRX', 'LV': '-c'}