Martin Geisler <mg@lazybytes.net> [Wed, 20 May 2009 00:52:46 +0200] rev 8527
use 'x is None' instead of 'x == None'
The built-in None object is a singleton and it is therefore safe to
compare memory addresses with is. It is also faster, how much depends
on the object being compared. For a simple type like str I get:
| s = "foo" | s = None
----------+-----------+----------
s == None | 0.25 usec | 0.21 usec
s is None | 0.17 usec | 0.17 usec
Martin Geisler <mg@lazybytes.net> [Wed, 20 May 2009 00:43:23 +0200] rev 8526
patch: simplify Boolean expression slightly
The context variable is either True, False or None. Abbreviate it as C
and we get the following truth table where the second column is the
original expression and the third column is the new expression:
C | C or C == None | C is not False
True | True | True
False | False | False
None | True | True
Simon Heimberg <simohe@besonet.ch> [Tue, 05 May 2009 10:29:34 +0200] rev 8525
mq: new method invalidate
Introduce method invalidate (similar to dirstate and repo).
Simon Heimberg <simohe@besonet.ch> [Mon, 04 May 2009 03:35:42 +0200] rev 8524
mq: only read files when needed
use util.propertycache as in dirstate
Martin Geisler <mg@lazybytes.net> [Tue, 19 May 2009 23:02:17 +0200] rev 8523
tests: replace #...# syntax with {...}
Simon Heimberg <simohe@besonet.ch> [Fri, 15 May 2009 09:43:30 +0200] rev 8522
match: use self.exact instead of lambda
self.exact uses a set and does not need an extra copy of the files
Simon Heimberg <simohe@besonet.ch> [Thu, 14 May 2009 19:47:52 +0200] rev 8521
dirstate: use quicker matchfn() instead of match() everywhere
matchfn does the same as match(), but a direct "link"
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 19 May 2009 15:10:45 +0200] rev 8520
patchbomb: don't localize Date headers
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 19 May 2009 14:14:07 +0200] rev 8519
alias: a0104303f400 did not correctly handle whitespace in the args
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 19 May 2009 03:59:58 +0200] rev 8518
update --clean: do not unlink added files (issue575)
Martin Geisler <mg@lazybytes.net> [Sun, 17 May 2009 16:25:48 +0200] rev 8517
templater: lowercase error message
Changing this messages should be safe: automated scripts ought to have
debugged their templates and wont grep for this error message.
Simon Heimberg <simohe@besonet.ch> [Tue, 19 May 2009 09:57:06 +0200] rev 8516
util: use set instead of dict
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 19 May 2009 11:39:12 +0200] rev 8515
localrepo: update commit*() docstrings
Cédric Duval <cedricduval@free.fr> [Tue, 19 May 2009 01:37:38 +0200] rev 8514
patchbomb: with --in-reply-to, still thread message under first in series
When specifying --in-reply-to for a message M, have
[M]
[0/2]
[1/2]
[2/2]
instead of
[M]
[0/2]
[1/2]
[2/2]
which is more consistent with the way messages are being threaded
when --in-reply-to is not used.
Martin Geisler <mg@lazybytes.net> [Tue, 19 May 2009 01:17:54 +0200] rev 8513
merge with mpm
Cédric Duval <cedricduval@free.fr> [Tue, 19 May 2009 00:06:19 +0200] rev 8512
patchbomb: minor typo and language fixes
Cédric Duval <cedricduval@free.fr> [Tue, 19 May 2009 00:02:54 +0200] rev 8511
patchbomb: clarify diffstat usage
Cédric Duval <cedricduval@free.fr> [Mon, 18 May 2009 23:59:22 +0200] rev 8510
patchbomb: fix inexact description of the messages threading
Each message refers only to the first of the series.
Martin Geisler <mg@lazybytes.net> [Tue, 19 May 2009 00:57:36 +0200] rev 8509
coal/paper: minimize whitespace differences in CSS files
Martin Geisler <mg@lazybytes.net> [Tue, 19 May 2009 00:33:23 +0200] rev 8508
coal/paper: equal heights for file and annotate views
Martin Geisler <mg@lazybytes.net> [Tue, 19 May 2009 00:28:47 +0200] rev 8507
spartan: ensure equal heights for file and annotate views
The display used to jump up and down when switching from the file view
to the annotate view. It now stays still: when switching from the file
view to the annotate view it looks like the file content is simply
right-shifted to make room for the author names.
Martin Geisler <mg@lazybytes.net> [Mon, 18 May 2009 23:37:36 +0200] rev 8506
coal/paper: simplify margin and padding CSS rules
Martin Geisler <mg@lazybytes.net> [Mon, 18 May 2009 23:35:27 +0200] rev 8505
spartan: simplify CSS colors (#xxxxxx -> #xxx)
Martin Geisler <mg@lazybytes.net> [Mon, 18 May 2009 23:27:51 +0200] rev 8504
coal/paper/spartan: remove extra line break in annotate view
Matt Mackall <mpm@selenic.com> [Mon, 18 May 2009 17:36:24 -0500] rev 8503
commit: tidy up mergestate slightly
Matt Mackall <mpm@selenic.com> [Mon, 18 May 2009 17:36:24 -0500] rev 8502
commit: drop unneeded dirstate invalidate logic
We no longer touch the dirstate in the middle of a commit, so a
failing commit doesn't require invalidating the dirstate.
Matt Mackall <mpm@selenic.com> [Mon, 18 May 2009 17:36:24 -0500] rev 8501
commit: some tidying
- simplify handling of 'close'
- kill silly wlock=None
- sort/uniq files later
Matt Mackall <mpm@selenic.com> [Mon, 18 May 2009 17:36:24 -0500] rev 8500
commit: remove unused lock var
Matt Mackall <mpm@selenic.com> [Mon, 18 May 2009 17:36:24 -0500] rev 8499
commit: move description trimming into changelog
Matt Mackall <mpm@selenic.com> [Mon, 18 May 2009 17:36:24 -0500] rev 8498
commit: simplify manifest commit
Matt Mackall <mpm@selenic.com> [Mon, 18 May 2009 17:36:24 -0500] rev 8497
commit: explain how to abort commit in editor
Matt Mackall <mpm@selenic.com> [Mon, 18 May 2009 17:36:24 -0500] rev 8496
commit: move editor outside transaction
The commit editor is now invoked before files and manifest are
committed. The editor is now run with only the wlock held and aborting
an edit no longer requires rolling back a transaction. Changes to
files during a commit still result in undefined behavior.
(This is preliminary work for committing subrepositories)