Home | History | Annotate | Download | only in scripts

Lines Matching refs:lines

513   lines = []
515 lines.append('--' + BOUNDARY)
516 lines.append('Content-Disposition: form-data; name="%s"' % key)
517 lines.append('')
518 lines.append(value)
520 lines.append('--' + BOUNDARY)
521 lines.append('Content-Disposition: form-data; name="%s"; filename="%s"' %
523 lines.append('Content-Type: %s' % GetContentType(filename))
524 lines.append('')
525 lines.append(value)
526 lines.append('--' + BOUNDARY + '--')
527 lines.append('')
528 body = CRLF.join(lines)
647 are retrieved based on lines that start with "Index:" or
1110 # "hg status -C" returns two lines for moved/copied files, one otherwise
1201 lines = response_body.splitlines()
1202 if not lines or lines[0] != "OK":
1205 rv.append([lines[1], patch[0]])
1350 lines = response_body.splitlines()
1351 if len(lines) >= 2:
1352 msg = lines[0]
1353 patchset = lines[1].strip()
1354 patches = [x.split(" ", 1) for x in lines[2:]]