Lines Matching refs:lines
528 lines = []
530 lines.append('--' + BOUNDARY)
531 lines.append('Content-Disposition: form-data; name="%s"' % key)
532 lines.append('')
533 lines.append(value)
535 lines.append('--' + BOUNDARY)
536 lines.append('Content-Disposition: form-data; name="%s"; filename="%s"' %
538 lines.append('Content-Type: %s' % GetContentType(filename))
539 lines.append('')
540 lines.append(value)
541 lines.append('--' + BOUNDARY + '--')
542 lines.append('')
543 body = CRLF.join(lines)
662 are retrieved based on lines that start with "Index:" or
1125 # "hg status -C" returns two lines for moved/copied files, one otherwise
1216 lines = response_body.splitlines()
1217 if not lines or lines[0] != "OK":
1220 rv.append([lines[1], patch[0]])
1365 lines = response_body.splitlines()
1366 if len(lines) >= 2:
1367 msg = lines[0]
1368 patchset = lines[1].strip()
1369 patches = [x.split(" ", 1) for x in lines[2:]]