Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 03 Jul 2010 18:11:15 +0900] rev 11608
log: remove increasing windows usage in fastpath
The purpose of increasing windows is to allow backwards iteration on the
filelog at a reasonable cost.
But is it needed?
- if follow is False, we have no reason to iterate backwards.
We basically just want to walk the complete filelog and yield all revisions
within the revision range. We can do this forward or
backwards, as it only reads the index.
- when follow is True, we need to examine the contents of the filelog, and to
do this efficiently we need to read the filelog forward.
And on the other hand, to track ancestors and copies, we need to process
revisions backwards. But is it necessary to use increasing windows
for this?
We can iterate over the complete filelog forward, stack the revisions, and
read the reversed(pile), it does the same thing with a more readable code.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 03 Jul 2010 18:01:54 +0900] rev 11607
log: refactor: test for ranges inside filerevgen
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 03 Jul 2010 17:58:48 +0900] rev 11606
log: refactor: compute the value of last outside of filerevgen
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 16 Jul 2010 16:33:55 +0900] rev 11605
context: use os.lstat instead of os.stat to fetch file size
When file is a link, we want the size of the link itself, not the size
of the file it points to.
Matt Mackall <mpm@selenic.com> [Fri, 16 Jul 2010 13:26:39 -0500] rev 11604
check-code: add --blame switch
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 16 Jul 2010 18:35:15 +0200] rev 11603
changegroupsubset: remove unneeded cast to list
Martin Geisler <mg@lazybytes.net> [Fri, 16 Jul 2010 14:48:52 +0200] rev 11602
check-code: catch dict.has_key
Martin Geisler <mg@lazybytes.net> [Fri, 16 Jul 2010 14:45:52 +0200] rev 11601
Merge with stable
Martin Geisler <mg@lazybytes.net> [Fri, 16 Jul 2010 14:44:30 +0200] rev 11600
mark ui.warn strings for translation
Martin Geisler <mg@lazybytes.net> [Fri, 16 Jul 2010 14:40:57 +0200] rev 11599
check-code: warn about untranslated ui.warn calls
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 16 Jul 2010 13:38:33 +0200] rev 11598
localrepo: remove push_{unbundle,addchangegroup}(), factor it inside push()
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 16 Jul 2010 00:52:13 +0200] rev 11597
wireproto: refactor list of nodeid encoding / decoding
Matt Mackall <mpm@selenic.com> [Thu, 15 Jul 2010 15:06:45 -0500] rev 11596
ssh: drop some old imports
Matt Mackall <mpm@selenic.com> [Thu, 15 Jul 2010 15:05:04 -0500] rev 11595
protocol: move hgweb protocol support back into protocol.py
- introduce iscmd
- simplify error handling
- remove unneeded imports
Matt Mackall <mpm@selenic.com> [Thu, 15 Jul 2010 13:56:52 -0500] rev 11594
protocol: unify server-side capabilities functions
Matt Mackall <mpm@selenic.com> [Thu, 15 Jul 2010 11:24:42 -0500] rev 11593
protocol: unify unbundle on the server side
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 17:12:18 -0500] rev 11592
protocol: unify client unbundle support
- introduce _callpush helper
- factor out differences in result handling into helpers
- unify
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 17:09:31 -0500] rev 11591
protocol: unify client changegroup methods
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 17:07:13 -0500] rev 11590
protocol: convert some ssh abort calls
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 17:07:10 -0500] rev 11589
protocol: clean up call-like functions in http and ssh clients
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 16:55:44 -0500] rev 11588
protocol: unify stream_out client code
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 16:35:51 -0500] rev 11587
protocol: unify basic http client requests
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 16:34:57 -0500] rev 11586
protocol: move basic ssh client commands to wirerepository
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 16:19:27 -0500] rev 11585
protocol: unify stream_out command
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 15:43:20 -0500] rev 11584
protocol: unify changegroup commands
- add sendchangegroup protocol helpers
- handle commands with None results
- move changegroup commands into wireproto.py
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 15:33:21 -0500] rev 11583
protocol: add proto to method prototypes
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 15:25:15 -0500] rev 11582
protocol: use new wireproto infrastructure in ssh
- add protocol helper
- insert wireproto into dispatcher
- drop duplicate functions from hgweb implementation
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