equal
deleted
inserted
replaced
1509 """export the repository via HTTP""" |
1509 """export the repository via HTTP""" |
1510 |
1510 |
1511 if opts["stdio"]: |
1511 if opts["stdio"]: |
1512 fin, fout = sys.stdin, sys.stdout |
1512 fin, fout = sys.stdin, sys.stdout |
1513 sys.stdout = sys.stderr |
1513 sys.stdout = sys.stderr |
|
1514 |
|
1515 # Prevent insertion/deletion of CRs |
|
1516 util.set_binary(fin) |
|
1517 util.set_binary(fout) |
1514 |
1518 |
1515 def getarg(): |
1519 def getarg(): |
1516 argline = fin.readline()[:-1] |
1520 argline = fin.readline()[:-1] |
1517 arg, l = argline.split() |
1521 arg, l = argline.split() |
1518 val = fin.read(int(l)) |
1522 val = fin.read(int(l)) |