comparison mercurial/wireproto.py @ 17525:e327fd6edb14

spelling: transferred
author timeless@mozdev.org
date Fri, 17 Aug 2012 13:58:19 -0700
parents d3f84ccc5495
children 39c6e349dfff
comparison
equal deleted inserted replaced
17524:a736e1e15e46 17525:e327fd6edb14
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):