COIN-OR::LEMON - Graph Library

Changeset 284:a16cc721259e in lemon-1.0 for scripts


Ignore:
Timestamp:
09/27/08 14:04:27 (16 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Make chg-len.py independent from the global Mercurial config files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/chg-len.py

    r272 r284  
    1010"""
    1111    exit(0)
    12 plist = os.popen("hg parents --template='{rev}\n'").readlines()
     12plist = os.popen("HGRCPATH='' hg parents --template='{rev}\n'").readlines()
    1313if len(plist)>1:
    1414    print "You are in the process of merging"
     
    1616PAR = int(plist[0])
    1717
    18 f = os.popen("hg log -r 0:tip --template='{rev} {parents}\n'").readlines()
     18f = os.popen("HGRCPATH='' hg log -r 0:tip --template='{rev} {parents}\n'").\
     19    readlines()
    1920REV = -1
    2021lengths=[]
Note: See TracChangeset for help on using the changeset viewer.