Sune Foldager <cryo@cyanite.org> [Mon, 30 Nov 2009 14:58:52 +0100] rev 9954
fix bug in prepush logic involving merge changesets
When creating new branches and merging them into existing ones, you would
sometimes be able to push some changesets (the existing branches) without using
--force, even when that creates a new head on the remote.
A test which triggers the error has been added.
Martin Geisler <mg@lazybytes.net> [Sat, 28 Nov 2009 23:58:03 +0100] rev 9953
Merge with stable
timeless@mozdev.org [Sat, 28 Nov 2009 23:44:18 +0100] rev 9952
commands: add missing options in command line help
Martin Geisler <mg@lazybytes.net> [Sat, 28 Nov 2009 23:23:16 +0100] rev 9951
commands: mark strings for translation
timeless [Fri, 27 Nov 2009 18:26:25 +0000] rev 9950
keyword: clarify object of backwards compatibility
Greg Ward <greg-hg@gerg.ca> [Fri, 27 Nov 2009 11:50:52 -0500] rev 9949
commit: write last-message.txt with no content modifications.
This assumes the user will use either a sane editor (anything but
Notepad) or the same editor again: even Notepad should be able to read
what it previously wrote.
Marti Raudsepp <marti@juffo.org> [Thu, 26 Nov 2009 10:47:39 +0200] rev 9948
mail: add parseaddrlist() function for parsing many addresses at once
Adds a new function addrlistencode() to mercurial.mail, like addressencode(),
but accepts a list of addresses as input, and returns a list of formatted
addresses. This will be used by patchbomb.
The difference is that each element in the input list can contain multiple
addresses (comma separated or otherwise), and are split using Python's
email.Utils.getaddresses().
Marti Raudsepp <marti@juffo.org> [Thu, 26 Nov 2009 12:23:28 +0200] rev 9947
patchbomb: fix parsing of multiple addresses, allow multiple addrs in --to/cc/bcc
Instead of using custom code to split apart addresses, we now use
mail.parseaddrlist() which always does the Right Thing as it relies on Python's
email.Utils.getaddresses().
Previously, 'hg email --to=foo,bar' only respected foo and discarded bar. Also,
commas in names were not allowed in hgrc or the interactive prompt; specifying
'"Lastname, Firstname" <foo>' would confuse patchbomb.
The testcase uses '-m tmp.mbox' because -n (like in other tests) would disable
address mangling.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 27 Nov 2009 13:53:27 +0100] rev 9946
templates: add raw templates for tags/branches pages
Martin Geisler <mg@lazybytes.net> [Thu, 26 Nov 2009 23:10:59 +0100] rev 9945
extdiff: wrap long lines in docstring and comments
Gettext wraps lines in the messages when it writes them to the hg.pot
file and that makes long lines look odd in the resulting .po file.
Martin Geisler <mg@lazybytes.net> [Thu, 26 Nov 2009 20:59:35 +0100] rev 9944
Merge with stable
Christian Ebert <blacktrash@gmx.net> [Thu, 26 Nov 2009 10:51:17 +0100] rev 9943
keyword: the CVS keyword is $RCSfile$, not $RCSFile$
http://cvsbook.red-bean.com/cvsbook.html#List%20Of%20Keywords
Fix default keyword map accordingly.
Keep $RCSFile$ for Mercurial backwards compatibility.
Martin Geisler <mg@lazybytes.net> [Thu, 26 Nov 2009 20:50:16 +0100] rev 9942
keyword: sort demo output to ensure deterministic output
Martin Geisler <mg@lazybytes.net> [Thu, 26 Nov 2009 20:06:45 +0100] rev 9941
extdiff: prevent exception on double-translation
The docstring is translated twice: once when used as a format string,
and once on display. The second translation fails when the first
translation introduces non-ASCII characters in the string.
The problem is that the gettext module calls unicode(message) on the
string, i.e., it decodes it to a Unicode string using the ASCII
encoding (the default encoding). By translating it into a Unicode
string here, the unicode() call becomes a noop.
Matt Mackall <mpm@selenic.com> [Wed, 25 Nov 2009 21:54:47 -0600] rev 9940
Merge with stable again
Matt Mackall <mpm@selenic.com> [Wed, 25 Nov 2009 21:54:18 -0600] rev 9939
Merge stable heads
Matt Mackall <mpm@selenic.com> [Wed, 25 Nov 2009 21:52:39 -0600] rev 9938
Fix changelog test
Matt Mackall <mpm@selenic.com> [Wed, 25 Nov 2009 21:44:19 -0600] rev 9937
Merge with stable
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Mon, 01 Jun 2009 20:32:53 +0200] rev 9936
list branches in changelog template
Greg Ward <greg-hg@gerg.ca> [Tue, 24 Nov 2009 21:08:40 -0500] rev 9935
commit: if relevant, tell user their commit message was saved.
(
issue1635)
Specifically, if:
1) the user edited the message (it didn't come straight from -m) and
2) the commit was aborted by an exception
then the saved commit message in .hg/last-message.txt could come in handy, so
mention it with a ui.write().
This doesn't help users who manually rollback to amend a changeset:
the fact that the message was saved to .hg/last-message.txt is
invisible in that case.
Greg Ward <greg-hg@gerg.ca> [Tue, 24 Nov 2009 21:08:39 -0500] rev 9934
commit: save commit message so it's not destroyed by rollback.
(
issue1635)
Rationale: if a pretxncommit hook rejects this commit, the transaction
is rolled back and the user's commit message is irrevocably lost.
So save a copy in .hg/last-message.txt, just in case. Also handy if
the user deliberately rolls back a commit in order to amend it.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 14 Aug 2009 08:19:49 -0400] rev 9933
inotify: create a common, OS-independent server entry point
* rename server.py to linuxserver.py
* create server.py: it will contain OS-independent logic for servers, and will
import the right server depending on the OS
* old server.server class is renamed to linuxserver.socketlistener
Alexander Solovyov <piranha@piranha.org.ua> [Wed, 25 Nov 2009 00:02:02 +0200] rev 9932
perf.perflog: add option to follow renames
Wagner Bruna <wbruna@softwareexpress.com.br> [Tue, 24 Nov 2009 13:55:13 -0200] rev 9931
run-tests: LANGUAGE may make tests fail
Bryan O'Sullivan <bos@serpentine.com> [Tue, 24 Nov 2009 14:45:29 -0800] rev 9930
Merge with mpm
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 24 Nov 2009 20:40:16 +0100] rev 9929
merge with crew
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 24 Nov 2009 20:40:04 +0100] rev 9928
findrenames: improve coding-style
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 24 Nov 2009 18:21:47 +0100] rev 9927
findrenames: speedup exact match
benchmarked on crew repo with:
rm -rf * ; hg up -C ; for i in `find . -name "*.py"` ; do mv $i $i.new;done
followed by:
hg addremove -s 100
before: Time: real 28.890 secs (user 26.920+0.000 sys 1.450+0.000)
after : Time: real 6.790 secs (user 5.310+0.000 sys 1.350+0.000)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 24 Nov 2009 17:39:42 +0100] rev 9926
findrenames: refactor the score computation
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 24 Nov 2009 17:26:42 +0100] rev 9925
findrenames: first loop over the removed files, it's faster
Getting the file from the working dir is less expensive than getting it from
the repo history, hence the speedup.
benchmarked on crew repo with:
rm -rf * ; hg up -C ; for i in `find . -name "*.py"` ; do mv $i $i.new;done
followed by:
hg addremove -s 100
before: Time: real 68.760 secs (user 65.760+0.000 sys 2.490+0.000)
after : Time: real 28.890 secs (user 26.920+0.000 sys 1.450+0.000)
Alexander Solovyov <piranha@piranha.org.ua> [Tue, 24 Nov 2009 14:32:19 +0200] rev 9924
localrepo: support 'rev in repo' syntax
Brendan Cully <brendan@kublai.com> [Tue, 24 Nov 2009 11:20:25 -0800] rev 9923
zsh completion: add summary
Matt Mackall <mpm@selenic.com> [Tue, 24 Nov 2009 10:25:11 -0600] rev 9922
Merge with stable
Matt Mackall <mpm@selenic.com> [Tue, 24 Nov 2009 10:23:53 -0600] rev 9921
Merge with crew
Matt Mackall <mpm@selenic.com> [Tue, 24 Nov 2009 10:15:12 -0600] rev 9920
Merge with i18n
Wagner Bruna <wbruna@softwareexpress.com.br> [Mon, 23 Nov 2009 15:15:54 -0200] rev 9919
merge with i18n stable
Wagner Bruna <wbruna@softwareexpress.com.br> [Mon, 23 Nov 2009 15:15:01 -0200] rev 9918
i18n-pt_BR: synchronized with
5d748045c2ae
Matt Mackall <mpm@selenic.com> [Tue, 24 Nov 2009 10:14:27 -0600] rev 9917
Merge with crew
Alexander Solovyov <piranha@piranha.org.ua> [Tue, 24 Nov 2009 16:07:36 +0200] rev 9916
commands.log: getrenamed() cleanup
Sune Foldager <cryo@cyanite.org> [Tue, 24 Nov 2009 09:49:23 +0100] rev 9915
ancestor: improve docstring
The term "least common ancestor" is highly ambiguous.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 23 Nov 2009 23:04:44 +0100] rev 9914
merge with stable
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 23 Nov 2009 22:45:36 +0100] rev 9913
run-tests: always set $COLUMNS, fix running tests under emacs shell
fix tests failure reported by Neal Becker.
Patrick Mezard <pmezard@gmail.com> [Mon, 23 Nov 2009 22:46:48 +0100] rev 9912
Merge with crew-stable
Pascal Quantin <pascal.quantin@gmail.com> [Mon, 23 Nov 2009 22:08:59 +0100] rev 9911
Add help files to win32 installer (issue 1919)
Sune Foldager <cryo@cyanite.org> [Mon, 23 Nov 2009 11:03:55 +0100] rev 9910
hgweb: add support for extension-provided permission hooks
This allows extensions to hook into permission checking, providing both
authentication and authorization as needed. The existing authorization
function has been changed to a hook, which is added by default.
Matt Mackall <mpm@selenic.com> [Sun, 22 Nov 2009 15:36:22 -0600] rev 9909
Merge with i18n
Martin Geisler <mg@lazybytes.net> [Sun, 22 Nov 2009 21:34:12 +0100] rev 9908
i18n-da: synchronized with
b5170b8b32a5
Jens Bäckman <jens.backman@gmail.com> [Sun, 22 Nov 2009 19:37:19 +0100] rev 9907
i18n-sv: translated seven commands
These commands has been translated:
addremove, archive, backout, config, unbundle, verify, version
Jens Bäckman <jens.backman@gmail.com> [Sun, 22 Nov 2009 19:12:39 +0100] rev 9906
i18n-sv: synchronized with
b5170b8b32a5
Patrick Mezard <pmezard@gmail.com> [Sun, 22 Nov 2009 19:11:12 +0100] rev 9905
run-tests: work around a distutils bug triggered by
0a8a43b4ca75
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 22 Nov 2009 11:27:29 +0100] rev 9904
merge with crew-stable
Thomas Arendsen Hein <thomas@intevation.de> [Sun, 22 Nov 2009 11:25:01 +0100] rev 9903
Do not overwrite motd attribute of hgwebdir instances on refresh.
This allows using
application = hgwebdir(...)
application.motd = (string or object with __str__ method)
in WSGI (like it is possible in CGI).
Changed web.motd in the config file is still read with this, because
hgwebdir.templater.motd() does not store the config value.
Martin Geisler <mg@lazybytes.net> [Sun, 22 Nov 2009 11:19:07 +0100] rev 9902
Merge with stable
Henri Wiechers <hwiechers@gmail.com> [Fri, 20 Nov 2009 14:11:05 +0200] rev 9901
commands: minor refactoring
Renamed local variable i to entry in helpcmd.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 19 Nov 2009 11:06:01 +0900] rev 9900
inotify: improve error messages
* prefix messages by inotify-(client|server)
* make sure that all warning and abort messages use the same format.
* in the case where inotify.sock is an old broken symlink, say so and abort
instead of trying to overwrite the already existing link
Greg Ward <greg@gerg.ca> [Wed, 18 Nov 2009 22:23:11 -0500] rev 9899
run-tests: give each child its own tmp dir (
issue1911)
Fixes bug introduced by
f8b4df4b033d (
issue1911: --tmpdir plus parallel
mode = fail), and also fixes the long-standing quirk that parallel mode
created multiple /tmp/hgtests.XXXXXX directories. Now there is only one
/tmp/hgtests.XXXXXX, with child0, child1, etc. under it.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 20 Nov 2009 02:34:56 +0100] rev 9898
merge with stable
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 17 Nov 2009 15:36:09 +0900] rev 9897
inotify: add a inotify.pidfile configuration possibility
This will mainly help us in our tests to log pids of inotify servers
started implicitely, to make sure that unkilled inotify daemons do not clutter
the output of unrelated tests.
Also desactivate the workaround introduced in
951ec6c7d703
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 17 Nov 2009 15:00:00 +0900] rev 9896
cmdutil.service: do not _exit(0) in the parent process
The fact that a parent process spawns a daemon does not necessarily means that
it is the only think it has to do. This was forcing since
7c01599dd340 inotify
processes launched implicitely to exit prematurely:
when no inotify server was running, "hg st" for example would only launch a
inotify server, _exit(0) and thus would not return file statuses.
This changeset adds a test for implicitely launched inotify processes.
Change to output of test-inotify-1208 is correct: it reflects the normal
error message of "hg st" when not dying during "hg inserve" daemon creation.
Martin Geisler <mg@lazybytes.net> [Thu, 19 Nov 2009 23:39:30 +0100] rev 9895
Merge with stable