Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 04 May 2009 18:04:41 +0900] rev 8325
inotify: inotify.server.walk() simplify control flow
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 04 May 2009 17:58:26 +0900] rev 8324
inotify: inotify.server.walk*() remove unnecessary var
Remove hginside var and the test it relates to:
not( top or not hginside ) == (not top) and hginside, so the only case
when nothing will be yielded is when hginside is True and top is False.
Because of the returns placed upstream, this case will not happen anymore.
We can then safely remove hginside and the (if)s
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 04 May 2009 17:17:03 +0900] rev 8323
inotify: inotify.server.walk*() cleanup
When not in root repo, if we meet a .hg, bail out.
break was used, but return can be safely used instead: if we go through break
then (top or not hginside) == False -> nothing is done after the for loop
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 04 May 2009 17:11:49 +0900] rev 8322
inotify: inotify.server.walkrepodirs() simplify walking
Do not 'yield tuple, boolean' to filter later on the boolean.
Test the boolean first, and yield tuple only if needed.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 04 May 2009 17:06:59 +0900] rev 8321
inotify: inotify.server.walkrepodirs() simplify
compute string concatenation only once
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 04 May 2009 16:57:52 +0900] rev 8320
inotify: inotify.server.walk() simplify algorithm
Do not yield (bool, tuple) in a subfunction and check later:
'if not bool: yield tuple'.
Instead simplify so the tuple doesnt get yielded on the first time, to avoid
systematic checks.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 04 May 2009 16:43:28 +0900] rev 8319
inotify: inotify.server.walk cleanups
* Removing useless path computation
* moving 'reporoot' computation down to the first call to avoid confusion
with the parameter used in walkit()
Matt Mackall <mpm@selenic.com> [Thu, 07 May 2009 19:39:45 -0500] rev 8318
revlog: add cache priming for reconstructing delta chains
Matt Mackall <mpm@selenic.com> [Thu, 07 May 2009 19:39:45 -0500] rev 8317
revlog: use chunk cache to avoid rereading when splitting inline files
Matt Mackall <mpm@selenic.com> [Thu, 07 May 2009 19:39:45 -0500] rev 8316
revlog: clean up the chunk caching code
Matt Mackall <mpm@selenic.com> [Thu, 07 May 2009 19:39:45 -0500] rev 8315
revlog: use index to find index size
Matt Mackall <mpm@selenic.com> [Thu, 07 May 2009 19:39:45 -0500] rev 8314
revlog: preread revlog .i file
Smaller revlogs can be read with a single read, do it on open.
Sverre Rabbelier <sverre@rabbelier.nl> [Fri, 08 May 2009 16:30:51 +0200] rev 8313
commit: be more verbose in the -u help text
Make the requirement of an argument for -u a little more explicit.
Simon Heimberg <simohe@besonet.ch> [Tue, 28 Apr 2009 17:40:46 +0200] rev 8312
separate import lines from mercurial and general python modules
Giorgos Keramidas <keramida@ceid.upatras.gr> [Thu, 07 May 2009 15:08:25 +0300] rev 8311
manpage build: fail early when xmlto is not available
When we try to build manpages with xmlto and sed, but xmlto is
missing fail at the xmlto stage. Otherwise, one may run `cd doc;
make' and miss the warnings like:
xmlto: not found
sed: hg.1: No such file or directory
and end up with empty files installed as manpages.
Simon Heimberg <simohe@besonet.ch> [Fri, 08 May 2009 07:54:00 +0200] rev 8310
dirstate: translate forgotten string
Simon Heimberg <simohe@besonet.ch> [Fri, 08 May 2009 09:59:15 +0200] rev 8309
util: overwrite sha1 and _fastsha1
Greg Ward <greg-hg@gerg.ca> [Thu, 07 May 2009 21:35:12 -0400] rev 8308
test-convert-bzr: tweak sed hack to preserve timezone in 'bzr log' output
Martin Geisler <mg@lazybytes.net> [Thu, 07 May 2009 19:08:25 +0200] rev 8307
zeroconf: remove unwarranted execute bit
Martin Geisler <mg@lazybytes.net> [Thu, 07 May 2009 19:02:39 +0200] rev 8306
test-convert-bzr: use sed instead of awk
The run-tests.py script has a list of required tools and awk is not
one of them -- luckily it could be replaced by sed in this case.
Greg Ward <greg-hg@gerg.ca> [Wed, 06 May 2009 17:48:03 -0400] rev 8305
convert/bzr: handle Bazaar timestamps correctly (issue1652).
Martin Geisler <mg@lazybytes.net> [Thu, 07 May 2009 17:56:57 +0200] rev 8304
dispatch: remember loaded extensions in a real set
Martin Geisler <mg@lazybytes.net> [Thu, 07 May 2009 01:33:45 +0200] rev 8303
gpg: use reverse kwarg to sort sigs in reversed order
Martin Geisler <mg@lazybytes.net> [Thu, 07 May 2009 01:33:44 +0200] rev 8302
util: simplify pipefilter and avoid subprocess race
The subprocess module is not thread safe. Spawning a thread to read
the output leads to exceptions like this when Mercurial exits:
Exception exceptions.TypeError: TypeError("'NoneType' object is not
callable",) in <bound method Popen.__del__ of <subprocess.Popen
object at 0x9ed0dcc>> ignored
The bug is already reported in the Python bug tracker:
http://bugs.python.org/issue1731717
Martin Geisler <mg@lazybytes.net> [Wed, 06 May 2009 23:35:20 +0200] rev 8301
Removed unnecessary call to dict.keys.
Giorgos Keramidas <keramida@ceid.upatras.gr> [Wed, 06 May 2009 20:30:46 +0300] rev 8300
gpg: fix traceback in revs{} display code
Matt Mackall <mpm@selenic.com> [Mon, 04 May 2009 14:22:33 -0500] rev 8299
util: kill unused Popen3
Matt Mackall <mpm@selenic.com> [Mon, 04 May 2009 14:21:43 -0500] rev 8298
config: make remap actually work
Martin Geisler <mg@lazybytes.net> [Mon, 04 May 2009 22:14:52 +0200] rev 8297
util: stop overwriting sha1, overwrite _fastsha1 instead
Some modules (like revlog) would import util.sha1 as _sha1. This
defeats the purpose of having util.sha1 overwrite itself with a faster
version -- revlog would end up always calling the slow version. By
always delegating to util._fastsha1 we avoid this at the cost of an
extra (but unconditional) indirection.
Martin Geisler <mg@lazybytes.net> [Mon, 04 May 2009 21:30:39 +0200] rev 8296
util: remove md5
This hash function is broken and should not be used by new code. It is
currently only used by keepalive.
Sune Foldager <cryo@cyanite.org> [Mon, 04 May 2009 20:29:05 +0200] rev 8295
util: remove warnings when importing md5 and sha
Henrik Stuart <hg@hstuart.dk> [Mon, 04 May 2009 15:31:57 +0200] rev 8294
transaction: refactor transaction.abort and rollback to use the same code
This adds a change to the way that abort is processed, as it will not continue
truncating files beyond the first failure, otherwise the respective
functionality is maintained, i.e. abort will not unlink files, but rollback
will.
Co-contributor: Sune Foldager <cryo@cyanite.org>
Henrik Stuart <henrik.stuart@edlund.dk> [Mon, 04 May 2009 13:47:12 +0200] rev 8293
test: change repair strip test to illustrate manifest errors
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 04 May 2009 19:51:08 +0200] rev 8292
verify: reference the correct linkrev when a filelog is missing
when a filelog is missing, the first bad revision is the first revision
where the filelog is referenced, not 0.
Henrik Stuart <hg@hstuart.dk> [Fri, 24 Apr 2009 10:44:39 +0200] rev 8291
verify: avoid exception on missing file revlog
Previously, accessing the filelinkrevs of a specific file that happens to
have already been unlinked from the filesystem, e.g. due to a partial rollback
having occurred, will trigger a KeyError being raised.
Co-contributor: Sune Foldager <cryo@cyanite.org>
Henrik Stuart <hg@hstuart.dk> [Sun, 19 Apr 2009 20:02:32 +0200] rev 8290
transaction: reset transaction on abort
Prevent the use of the transaction after it has been aborted.
Co-contributor: Sune Foldager <cryo@cyanite.org>
Henrik Stuart <hg@hstuart.dk> [Fri, 24 Apr 2009 09:56:53 +0200] rev 8289
transaction: ensure finished transactions are not reused
All transactional methods on the transaction class have had a decorator
added that ensures the transaction is running.
Co-contributor: Sune Foldager <cryo@cyanite.org>
Simon Heimberg <simohe@besonet.ch> [Mon, 04 May 2009 03:49:57 +0200] rev 8288
mq: simpler check of first character of guard name
Martin Geisler <mg@lazybytes.net> [Sun, 03 May 2009 20:34:12 +0200] rev 8287
commands: fix capitalization in revert help text
Martin Geisler <mg@lazybytes.net> [Sun, 03 May 2009 17:36:58 +0200] rev 8286
setup: require Python 2.4
Patrick Mezard <pmezard@gmail.com> [Sun, 03 May 2009 13:49:04 +0200] rev 8285
Merge with crew-stable
Alexander Solovyov <piranha@piranha.org.ua> [Sun, 03 May 2009 10:38:08 +0300] rev 8284
bisect: use subprocess to get command return code
Martin Geisler <mg@lazybytes.net> [Sun, 03 May 2009 00:41:09 +0200] rev 8283
setup: cleanup old left-over code
Martin Geisler <mg@lazybytes.net> [Sun, 03 May 2009 00:20:08 +0200] rev 8282
localrepo: mark commit message template for translation
Martin Geisler <mg@lazybytes.net> [Sun, 03 May 2009 00:03:35 +0200] rev 8281
util: initialize md5 and sha1 without using extra global variables
This lets the functions skip the "if _sha1 is None" test on each call.
Martin Geisler <mg@lazybytes.net> [Sat, 02 May 2009 23:05:35 +0200] rev 8280
util: always use subprocess
Martin Geisler <mg@lazybytes.net> [Sat, 02 May 2009 21:29:00 +0200] rev 8279
commands: describe --debug in showconfig help
Martin Geisler <mg@lazybytes.net> [Sat, 02 May 2009 21:09:37 +0200] rev 8278
color: look for mq with extensions.find
Martin Geisler <mg@lazybytes.net> [Sat, 02 May 2009 19:13:29 +0200] rev 8277
write options in "-r/--rev" style in help texts
Martin Geisler <mg@lazybytes.net> [Sat, 02 May 2009 17:48:01 +0200] rev 8276
i18n-da: translated various short messages
Martin Geisler <mg@lazybytes.net> [Sat, 02 May 2009 17:22:28 +0200] rev 8275
i18n-da: removed fuzzy translations
Martin Geisler <mg@lazybytes.net> [Sat, 02 May 2009 17:03:16 +0200] rev 8274
i18n-da: synchronized with hg.pot
Martin Geisler <mg@lazybytes.net> [Sat, 02 May 2009 12:10:38 +0200] rev 8273
Makefile: fixed comment
Martin Geisler <mg@lazybytes.net> [Sat, 02 May 2009 11:44:57 +0200] rev 8272
Makefile: add more meta data to hg.pot
Richard Quirk <richard.quirk@gmail.com> [Fri, 01 May 2009 11:32:19 +0200] rev 8271
Add committer tag only when needed in git conversion
Convert from a git repo added a committer: tag in the log message
even if the committer and the author were the same person.
Patrick Mezard <pmezard@gmail.com> [Fri, 01 May 2009 12:35:13 +0200] rev 8270
Merge with crew-stable
Steve Borho <steve@borho.org> [Thu, 30 Apr 2009 23:57:36 -0500] rev 8269
simplemerge: use ui.warn() for warnings
Mads Kiilerich <mads@kiilerich.com> [Sat, 02 May 2009 12:57:20 +0200] rev 8268
test-glog: Remove sed hack - '...$HGTMP...' isn't expanded anyway
Mads Kiilerich <mads@kiilerich.com> [Sat, 02 May 2009 12:13:24 +0200] rev 8267
test-convert-baz: hide GNU tar deprecation warning
Patrick Mezard <pmezard@gmail.com> [Fri, 01 May 2009 12:26:37 +0200] rev 8266
rebase: fix bug where --keepbranches could leave wrong branch in dirstate
Report and original fix by Augie Fackler <durin42@gmail.com>
Matt Mackall <mpm@selenic.com> [Thu, 30 Apr 2009 19:22:06 -0500] rev 8265
config: add parse interface
Alexander Solovyov <piranha@piranha.org.ua> [Mon, 27 Apr 2009 21:33:39 +0300] rev 8264
zeroconf: guess ip for Zeroconf
Zeroconf() is actually pretty dumb in guessing IPs and in case of
socket.gaierror will not guess right IP.
Matt Mackall <mpm@selenic.com> [Wed, 29 Apr 2009 20:47:30 -0500] rev 8263
config: allow spaces in key portion of items
Matt Mackall <mpm@selenic.com> [Wed, 29 Apr 2009 20:47:28 -0500] rev 8262
localrepo: use set for requirements