equal
deleted
inserted
replaced
514 '''If the server supports streaming clone, it advertises the "stream" |
514 '''If the server supports streaming clone, it advertises the "stream" |
515 capability with a value representing the version and flags of the repo |
515 capability with a value representing the version and flags of the repo |
516 it is serving. Client checks to see if it understands the format. |
516 it is serving. Client checks to see if it understands the format. |
517 |
517 |
518 The format is simple: the server writes out a line with the amount |
518 The format is simple: the server writes out a line with the amount |
519 of files, then the total amount of bytes to be transfered (separated |
519 of files, then the total amount of bytes to be transferred (separated |
520 by a space). Then, for each file, the server first writes the filename |
520 by a space). Then, for each file, the server first writes the filename |
521 and filesize (separated by the null character), then the file contents. |
521 and filesize (separated by the null character), then the file contents. |
522 ''' |
522 ''' |
523 |
523 |
524 if not _allowstream(repo.ui): |
524 if not _allowstream(repo.ui): |