Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-help.out @ 635:85e2209d401c
Protocol switch from using generators to stream-like objects.
This allows the the pull side to precisely control how much data is
read so that another encapsulation layer is not needed.
An http client gets a response with a finite size. Because ssh clients
need to keep the stream open, we must not read more data than is sent
in a response. But due to the streaming nature of the changegroup
scheme, only the piece that's parsing the data knows how far it's
allowed to read.
This means the generator scheme isn't fine-grained enough. Instead we
need file-like objects with a read(x) method. This switches everything
for push/pull over to using file-like objects rather than generators.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 06 Jul 2005 22:20:12 -0800 |
parents | 9a8daeff0ffa |
children | 116b2d3f4554 c6b912f8b5b2 |
line wrap: on
line source
basic hg commands (use "hg help -v" for more): add add the specified files on the next commit annotate show changeset information per file line clone make a copy of an existing repository commit commit the specified files or all outstanding changes diff diff working directory (or selected files) export dump the header and diffs for one or more changesets init create a new repository in the current directory log show the revision history of the repository or a single file pull pull changes from the specified source push push changes to the specified destination remove remove the specified files on the next commit revert revert modified files or dirs back to their unmodified states serve export the repository via HTTP status show changed files in the working directory update update or merge working directory basic hg commands (use "hg help -v" for more): add add the specified files on the next commit annotate show changeset information per file line clone make a copy of an existing repository commit commit the specified files or all outstanding changes diff diff working directory (or selected files) export dump the header and diffs for one or more changesets init create a new repository in the current directory log show the revision history of the repository or a single file pull pull changes from the specified source push push changes to the specified destination remove remove the specified files on the next commit revert revert modified files or dirs back to their unmodified states serve export the repository via HTTP status show changed files in the working directory update update or merge working directory hg add: option -h not recognized hg add [files] add the specified files on the next commit hg add: option --skjdfks not recognized hg add [files] add the specified files on the next commit hg diff [-r A] [-r B] [files] -r --rev revision diff working directory (or selected files) hg: unknown command foo hg: unknown command 'commands' basic hg commands (use "hg help -v" for more): add add the specified files on the next commit annotate show changeset information per file line clone make a copy of an existing repository commit commit the specified files or all outstanding changes diff diff working directory (or selected files) export dump the header and diffs for one or more changesets init create a new repository in the current directory log show the revision history of the repository or a single file pull pull changes from the specified source push push changes to the specified destination remove remove the specified files on the next commit revert revert modified files or dirs back to their unmodified states serve export the repository via HTTP status show changed files in the working directory update update or merge working directory