comparison mercurial/commands.py @ 14048:58e58406ed19

wireproto: add test for new optional arg missing on server New argument is silently ignored by both HTTP and SSH servers. This means we can, for instance, add new flags to getbundle() to request advanced features (like lightweight-copy-aware bundles), and older servers will silently ignore this request and send back a plain bundle.
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Fri, 29 Apr 2011 14:54:01 +0200
parents bd738875943a
children 421d56a055fd
comparison
equal deleted inserted replaced
14047:30ccb7d03864 14048:58e58406ed19
4556 "debugwalk": (debugwalk, walkopts, _('[OPTION]... [FILE]...')), 4556 "debugwalk": (debugwalk, walkopts, _('[OPTION]... [FILE]...')),
4557 "debugwireargs": 4557 "debugwireargs":
4558 (debugwireargs, 4558 (debugwireargs,
4559 [('', 'three', '', 'three'), 4559 [('', 'three', '', 'three'),
4560 ('', 'four', '', 'four'), 4560 ('', 'four', '', 'four'),
4561 ('', 'five', '', 'five'),
4561 ] + remoteopts, 4562 ] + remoteopts,
4562 _('REPO [OPTIONS]... [ONE [TWO]]')), 4563 _('REPO [OPTIONS]... [ONE [TWO]]')),
4563 "^diff": 4564 "^diff":
4564 (diff, 4565 (diff,
4565 [('r', 'rev', [], 4566 [('r', 'rev', [],