Mon, 23 Jul 2007 20:44:08 -0500 revlog: avoid some unnecessary seek/tell syscalls
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4996
revlog: avoid some unnecessary seek/tell syscalls
Mon, 23 Jul 2007 20:44:08 -0500 manifest: speed up creation of the manifestdict
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4995
manifest: speed up creation of the manifestdict - fold iteration and rawset into parse - avoid creating extra new strings with [:] where possible - speed up node.bin
Mon, 23 Jul 2007 20:44:08 -0500 lazyparser.findnode: fix typo and s/rfind/find/
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4994
lazyparser.findnode: fix typo and s/rfind/find/ There's no reason to use reverse string search and it's slightly slower
Mon, 23 Jul 2007 20:44:08 -0500 lazyindex: speed up __getitem__
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4993
lazyindex: speed up __getitem__ This function is fairly performance sensitive, so we make a couple ugly tweaks: - keep all entries packed so we needn't test entry types - fold index lookup/load into unpack call to eliminate local variable setting
Mon, 23 Jul 2007 20:44:08 -0500 lazyparser: up the blocksize from 512 bytes to 64k
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4992
lazyparser: up the blocksize from 512 bytes to 64k
Mon, 23 Jul 2007 20:44:08 -0500 revlog: implement a fast path for heads
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4991
revlog: implement a fast path for heads
Mon, 23 Jul 2007 20:44:08 -0500 revlogio: speed up parsing
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4990
revlogio: speed up parsing - precalcuate ending offset - pull some variables into local scope - separate inline and out of line code paths
Mon, 23 Jul 2007 20:44:08 -0500 revlog: eliminate diff and patches functions
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4989
revlog: eliminate diff and patches functions call mdiff variants directly
Mon, 23 Jul 2007 20:44:08 -0500 revlog: speed up chunkcache
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4988
revlog: speed up chunkcache - use a reasonable cache size - avoid an extra copy when we pull in big revs
Mon, 23 Jul 2007 20:44:08 -0500 revlog: some basic code reordering
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4987
revlog: some basic code reordering
Mon, 23 Jul 2007 20:44:08 -0500 revlog: abstract out index entry packing
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4986
revlog: abstract out index entry packing This lets us remove most of the remaining v0/v1 logic from revlog
Mon, 23 Jul 2007 20:44:08 -0500 revlog: simplify revlog.__init__
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4985
revlog: simplify revlog.__init__ - move stat into io helper - get rid of self.defversion and self.indexstat - fold _load into __init__
Mon, 23 Jul 2007 20:44:08 -0500 revlog: mark cache private
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4984
revlog: mark cache private
Mon, 23 Jul 2007 20:44:08 -0500 revlog: pull chunkcache back into revlog
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4983
revlog: pull chunkcache back into revlog
Mon, 23 Jul 2007 20:44:08 -0500 revlog: change _inline from a function to a variable
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4982
revlog: change _inline from a function to a variable
Mon, 23 Jul 2007 20:44:08 -0500 revlog: simplify addrevision
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4981
revlog: simplify addrevision - remove unused defaults for p1, p2, and text - reduce some if/else - use better variable names - remove some extra variables - remove some obsolete corner tests - simply first entry handling for revlogng - simply inline vs outofline writeout
Mon, 23 Jul 2007 20:44:08 -0500 revlog: some codingstyle cleanups
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4980
revlog: some codingstyle cleanups
Mon, 23 Jul 2007 20:44:08 -0500 revlog: add a magic null revision to our index
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4979
revlog: add a magic null revision to our index We expand our index by one entry so that index[nullrev] points to a unique entry, the null revision. This naturally eliminates numerous extra tests in the performance-sensitive index access functions, most of which are now trivial again. Adding new entries is now done with insert(-1, e) rather than append(e).
Mon, 23 Jul 2007 20:44:08 -0500 revlog: change accesses to index entry elements to use positive offsets
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4978
revlog: change accesses to index entry elements to use positive offsets
Mon, 23 Jul 2007 20:44:08 -0500 revlog: parse revlogv0 indexes into v1 internally
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4977
revlog: parse revlogv0 indexes into v1 internally This lets us eliminate lots of special case code in our performance-sensitive index accessors.
Mon, 23 Jul 2007 20:44:08 -0500 revlog: only allow lazy parsing with revlogng files
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4976
revlog: only allow lazy parsing with revlogng files This will allow us to store indices in memory in a single entry format
Mon, 23 Jul 2007 20:44:08 -0500 revlog: simplify the v1 immediate parser
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4975
revlog: simplify the v1 immediate parser - read all the data at once (large files are handled by the lazy parser) - cache the entire file for inline revlogs - simplify looping
Mon, 23 Jul 2007 20:44:08 -0500 revlog: set the threshold for lazy parsing higher
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:08 -0500] rev 4974
revlog: set the threshold for lazy parsing higher A typical machine can parse a 1MB index in well under a second
Mon, 23 Jul 2007 20:44:07 -0500 revlog: simplify the v0 parser
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:07 -0500] rev 4973
revlog: simplify the v0 parser
Mon, 23 Jul 2007 20:44:07 -0500 revlog: add revlogio interface
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:07 -0500] rev 4972
revlog: add revlogio interface This lets us separate the logic for different on-disk revlog formats from the main revlog logic.
Mon, 23 Jul 2007 20:44:07 -0500 revlog: regroup parsing code
Matt Mackall <mpm@selenic.com> [Mon, 23 Jul 2007 20:44:07 -0500] rev 4971
revlog: regroup parsing code
Sun, 22 Jul 2007 14:53:57 -0500 transactions: avoid late tear-down (issue641)
Matt Mackall <mpm@selenic.com> [Sun, 22 Jul 2007 14:53:57 -0500] rev 4970
transactions: avoid late tear-down (issue641) We use weak references (ugh) to avoid having to manually delete transaction references out of each call frame when an exception occurs.
Sun, 22 Jul 2007 16:21:49 +0200 hgk: enable mouse wheel under Windows.
Patrick Mezard <pmezard@gmail.com> [Sun, 22 Jul 2007 16:21:49 +0200] rev 4969
hgk: enable mouse wheel under Windows. For some reason, MouseWheel events are not routed under windows even in latest ActiveTcl 8.4.15 while they are under linux and macosx. These events are activated using code supplied with Tcl Tip 171: <http://www.tcl.tk/cgi-bin/tct/tip/171.html>. Strangely, the Tip code almost work but generates some unexpected infinite loop which is fixed using a simple boolean to check reentrancy.
Sun, 22 Jul 2007 16:21:49 +0200 hgk: enable mouse wheel on MouseWheel events.
Patrick Mezard <pmezard@gmail.com> [Sun, 22 Jul 2007 16:21:49 +0200] rev 4968
hgk: enable mouse wheel on MouseWheel events. At this point, mouse wheel still does not work under Windows.
Sun, 22 Jul 2007 09:45:18 +0200 merge with crew-stable
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 22 Jul 2007 09:45:18 +0200] rev 4967
merge with crew-stable
Sat, 21 Jul 2007 19:07:18 -0700 addremove: print meaningful error message if --similar not numeric
Bryan O'Sullivan <bos@serpentine.com> [Sat, 21 Jul 2007 19:07:18 -0700] rev 4966
addremove: print meaningful error message if --similar not numeric
Sat, 21 Jul 2007 16:44:38 -0500 Merge with crew
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:44:38 -0500] rev 4965
Merge with crew
Sat, 21 Jul 2007 16:18:42 -0500 revlog: privatize some methods
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:18:42 -0500] rev 4964
revlog: privatize some methods
Sat, 21 Jul 2007 16:18:24 -0500 revlog: delete unused function makenode
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:18:24 -0500] rev 4963
revlog: delete unused function makenode
Sat, 21 Jul 2007 16:18:21 -0500 revlog: raise offset/type helpers to global scope
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:18:21 -0500] rev 4962
revlog: raise offset/type helpers to global scope
Sat, 21 Jul 2007 16:02:10 -0500 Make repo locks recursive, eliminate all passing of lock/wlock
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:10 -0500] rev 4961
Make repo locks recursive, eliminate all passing of lock/wlock
Sat, 21 Jul 2007 16:02:10 -0500 Use a weakref for recursive transactions
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:10 -0500] rev 4960
Use a weakref for recursive transactions
Sat, 21 Jul 2007 16:02:10 -0500 Use try/finally pattern to cleanup locks and transactions
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:10 -0500] rev 4959
Use try/finally pattern to cleanup locks and transactions
Sat, 21 Jul 2007 16:02:09 -0500 repo locks: use True/False
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4958
repo locks: use True/False
Sat, 21 Jul 2007 16:02:09 -0500 rename and simplify do_lock
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4957
rename and simplify do_lock
Sat, 21 Jul 2007 16:02:09 -0500 simplify dirstate fixups in repo.status()
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4956
simplify dirstate fixups in repo.status()
Sat, 21 Jul 2007 16:02:09 -0500 dirstate: add doesn't need to call stat
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4955
dirstate: add doesn't need to call stat
Sat, 21 Jul 2007 16:02:09 -0500 use context for part of localrepo status
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4954
use context for part of localrepo status
Sat, 21 Jul 2007 16:02:09 -0500 context: add __contains__, __getitem__, and __iter__
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4953
context: add __contains__, __getitem__, and __iter__
Sat, 21 Jul 2007 16:02:09 -0500 dirstate: get rid of default args for status
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4952
dirstate: get rid of default args for status
Sat, 21 Jul 2007 16:02:09 -0500 dirstate: make filterfiles private
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4951
dirstate: make filterfiles private
Sat, 21 Jul 2007 16:02:09 -0500 dirstate: add __contains__ and make __getitem__ more useful
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4950
dirstate: add __contains__ and make __getitem__ more useful dirstate.state(f) == '?' -> f not in dirstate dirstate.state(f) -> dirstate[f]
Sat, 21 Jul 2007 16:02:09 -0500 dirstate: make wjoin function private
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4949
dirstate: make wjoin function private
Sat, 21 Jul 2007 16:02:09 -0500 dirstate: break update into separate functions
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4948
dirstate: break update into separate functions
Sat, 21 Jul 2007 16:02:09 -0500 dirstate: use True and false for _dirty
Matt Mackall <mpm@selenic.com> [Sat, 21 Jul 2007 16:02:09 -0500] rev 4947
dirstate: use True and false for _dirty
Sat, 21 Jul 2007 17:56:30 +0200 test-alias: Removed fallback to parentui, no longer needed since 10afa3fab6b4
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 21 Jul 2007 17:56:30 +0200] rev 4946
test-alias: Removed fallback to parentui, no longer needed since 10afa3fab6b4
Sat, 21 Jul 2007 17:37:39 +0200 merge with crew-stable
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 21 Jul 2007 17:37:39 +0200] rev 4945
merge with crew-stable
Sat, 21 Jul 2007 17:36:45 +0200 Make [defaults] in .hg/hgrc work.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 21 Jul 2007 17:36:45 +0200] rev 4944
Make [defaults] in .hg/hgrc work.
Fri, 20 Jul 2007 09:44:50 +0200 fix bogus close spotted by pychecker (no close() in global scope)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 20 Jul 2007 09:44:50 +0200] rev 4943
fix bogus close spotted by pychecker (no close() in global scope)
Sat, 21 Jul 2007 10:43:29 +0200 Remove unused pprint import and the commented line which used it before.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 21 Jul 2007 10:43:29 +0200] rev 4942
Remove unused pprint import and the commented line which used it before.
Sat, 21 Jul 2007 10:39:42 +0200 Use format string for lockname again (was changed by 3e25a6eb5c9a)
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 21 Jul 2007 10:39:42 +0200] rev 4941
Use format string for lockname again (was changed by 3e25a6eb5c9a)
Sat, 21 Jul 2007 10:36:51 +0200 Backout ad09ce1d393c and replace ''' with """ to make some highlighting happy.
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 21 Jul 2007 10:36:51 +0200] rev 4940
Backout ad09ce1d393c and replace ''' with """ to make some highlighting happy. I have tried Debian's default emacs and the current CVS version. Default emacs doesn't have highlighting enabled (and being emacs-illiterate I don't know how to enable it) and the CVS emacs' Python highlighting has no problems with ' characters here.
Sat, 21 Jul 2007 10:30:51 +0200 removed trailing whitespace
Thomas Arendsen Hein <thomas@intevation.de> [Sat, 21 Jul 2007 10:30:51 +0200] rev 4939
removed trailing whitespace
Fri, 20 Jul 2007 09:31:32 +0200 fix unused variables reported by pychecker
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 20 Jul 2007 09:31:32 +0200] rev 4938
fix unused variables reported by pychecker
Thu, 19 Jul 2007 18:39:51 +0200 churn: get current terminal width if possible
Christian Ebert <blacktrash@gmx.net> [Thu, 19 Jul 2007 18:39:51 +0200] rev 4937
churn: get current terminal width if possible
(0) -3000 -1000 -300 -100 -60 +60 +100 +300 tip