Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 15:25:15 -0500] rev 11581
protocol: introduce wireproto.py
- add a protocol-independent dispatcher
- move most of the basic commands from sshserver to wireproto
- dispatch through wireproto first
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 15:25:15 -0500] rev 11580
protocol: move most ssh responses to returns
Matt Mackall <mpm@selenic.com> [Mon, 12 Jul 2010 17:28:02 -0500] rev 11579
protocol: add ssh getargs
- introduce getargs
- make getarg a helper function
- update users
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Jul 2010 21:44:51 +0200] rev 11578
discovery: remove duplication for new remote head discovery
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Jul 2010 21:21:19 +0200] rev 11577
discovery: better coding style
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Jul 2010 21:20:32 +0200] rev 11576
discovery: simplify findoutgoing(), the updated_head stuff wasn't used
Brendan Cully <brendan@kublai.com> [Thu, 15 Jul 2010 10:41:41 -0700] rev 11575
mq: evaluate --user before invoking editor with -e (
issue2289)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Jul 2010 14:41:22 +0200] rev 11574
Abort: add a hint argument, printed in the next line inside parenthesis
discovery was using a custom made message for this purpose
push now returns -1 after aborting, instead of 1 previously
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Jul 2010 14:40:17 +0200] rev 11573
discovery: clarify comment
Martin Geisler <mg@lazybytes.net> [Thu, 15 Jul 2010 14:11:14 +0200] rev 11572
Merge with stable
Mads Kiilerich <mads@kiilerich.com> [Thu, 15 Jul 2010 13:24:02 +0200] rev 11571
subrepo: docstrings
Martin Geisler <mg@lazybytes.net> [Thu, 15 Jul 2010 14:02:17 +0200] rev 11570
gendoc: remove call to callable for py3k compatibility
Renato Cunha <renatoc@gmail.com> [Wed, 14 Jul 2010 23:15:03 -0300] rev 11569
check-code: added check for reduce usage
Renato Cunha <renatoc@gmail.com> [Wed, 14 Jul 2010 23:15:00 -0300] rev 11568
check-code: check for tuple parameter unpacking (missing in py3k)
Renato Cunha <renatoc@gmail.com> [Wed, 14 Jul 2010 23:03:21 -0300] rev 11567
removed exception args indexing (not supported by py3k)
Py3k removed __getitem__ for exception classes. The correct way of
getting the exception arguments is by using the args method.
Renato Cunha <renatoc@gmail.com> [Wed, 14 Jul 2010 22:59:57 -0300] rev 11566
util: use fakebuffer as buffer in py3k
There's no buffer type in py3k, util.py has a function, called
fakebuffer, that implements a similar API. This patch implements
fakebuffer as a memoryview wrapper in py3k.
Renato Cunha <renatoc@gmail.com> [Wed, 14 Jul 2010 22:59:43 -0300] rev 11565
util: improved the check for the existence of the 'buffer' builtin
2to3 is unable to translate '__builtin__' calls to 'builtins' when
hasattr is used (as in hasattr(__builtin__, buffer)). Translating the
check to the format
try:
whatever
except NameError
# define whatever
__builtin__.whatever = whatever
is a correct way of checking for the name and has the benefit of being
translated by 2to3. This patch implements the same idea for the
aforementioned example.
Renato Cunha <renatoc@gmail.com> [Wed, 14 Jul 2010 22:58:29 -0300] rev 11564
record: removed 'has_key' usage
Py3k has removed the dictionary has_key method. This patch implements
a one argument function that can be used as a callback by hg.revert in
the record extension.
Martin Geisler <mg@lazybytes.net> [Wed, 14 Jul 2010 21:30:50 +0200] rev 11563
Merge with stable
Joel Rosdahl <joel@rosdahl.net> [Thu, 08 Jul 2010 22:44:15 +0200] rev 11562
test-log: Add test for "hg log -pf" (
issue647)
To test
f786fc4b8764 we analyze this repo:
0 | 1 | 2 | 3 | 4
a ------------> b
\
b -> dir/b -------> e
d
We follow dir/b and expects rev 0, 1 and 2.
A log following b will surprisingly report rev 0 and 1. That's because the
content and the parents are the same in rev 1 and rev 3, and the revlog entry
from rev 1 is thus reused in rev 3 even though the revlink is incorrect.
Note that if we follow e then we will get all revs, including rev 3, because b
gets added to the set of interesting filenames we are following through all
revisions. That might be surprising, but that's (currently) how it is.
Original test case by Joel Rosdahl <joel@rosdahl.net>
Original test reviewed by Nicolas Dumazet <nicdumz@gmail.com>
Brodie Rao <brodie@bitheap.org> [Wed, 14 Jul 2010 11:02:20 -0400] rev 11561
bookmarks: ensure current bookmark is updated when specified with -r .
"hg bookmark -r . foo" should be equivalent to "hg bookmark foo".
Martin Geisler <mg@lazybytes.net> [Wed, 14 Jul 2010 20:25:31 +0200] rev 11560
subrepos: let caller specify a filename for SVN commands
Martin Geisler <mg@lazybytes.net> [Wed, 14 Jul 2010 20:25:31 +0200] rev 11559
subrepo: add abstract superclass for subrepo classes
Martin Geisler <mg@lazybytes.net> [Wed, 14 Jul 2010 20:25:31 +0200] rev 11558
archival: remove prefix argument from archivers
When the archivers work on the full we can reuse the same archiver
with different prefixes (for different subrepositories).