mercurial/config.py
changeset 9136 31177742f54a
parent 8312 b87a50b7125c
child 9339 9be91129c96e
equal deleted inserted replaced
9135:df881932362f 9136:31177742f54a
    80         section = ""
    80         section = ""
    81         item = None
    81         item = None
    82         line = 0
    82         line = 0
    83         cont = 0
    83         cont = 0
    84 
    84 
    85         for l in data.splitlines(1):
    85         for l in data.splitlines(True):
    86             line += 1
    86             line += 1
    87             if cont:
    87             if cont:
    88                 m = contre.match(l)
    88                 m = contre.match(l)
    89                 if m:
    89                 if m:
    90                     if sections and section not in sections:
    90                     if sections and section not in sections: