Wed, 17 Mar 2010 10:51:26 +0100 check-code: add a return value to checkfile function
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 17 Mar 2010 10:51:26 +0100] rev 10720
check-code: add a return value to checkfile function The checkfile function returns True if the file is correct, False otherwise.
Tue, 16 Mar 2010 19:53:00 +0100 code-code: Add a logfunc argument to checkfile
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 16 Mar 2010 19:53:00 +0100] rev 10719
code-code: Add a logfunc argument to checkfile This helps external tool customisation. The logfunc argument must be a function called to report errors. A new logger class is also added to keep the old behaviour by default.
Tue, 16 Mar 2010 19:52:58 +0100 check-code: Add a ``maxerr`` argument to the ``checkfile`` function
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 16 Mar 2010 19:52:58 +0100] rev 10718
check-code: Add a ``maxerr`` argument to the ``checkfile`` function check-code.py used to halt after 15 errors. This changeset adds a new argument to the checkfile function to control this limit.
Tue, 16 Mar 2010 19:52:57 +0100 check-code: Add a ``checkfile`` function
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 16 Mar 2010 19:52:57 +0100] rev 10717
check-code: Add a ``checkfile`` function The part of the code actually checking each file is moved in the ``checkfile`` function to allow external reuses.
Tue, 16 Mar 2010 19:52:56 +0100 check-code: Only call check-code if __name__ = "__main__".
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 16 Mar 2010 19:52:56 +0100] rev 10716
check-code: Only call check-code if __name__ = "__main__". This changeset moves the code that actually executes something to the "if __name__ = '__main__'" section to allow the file to be imported as a module.
Tue, 16 Mar 2010 19:52:55 +0100 add a small test for contrib/check-code.py
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 16 Mar 2010 19:52:55 +0100] rev 10715
add a small test for contrib/check-code.py This changeset adds a test file for contrib/check-code.py. This test runs check-code.py against two small files. The first file should not raise any check-code.py error while the second should. A line contains multiple errors to verify the check-code.py behaviour: In the case of multiple errors at the same line, the context line should only be displayed once.
Tue, 16 Mar 2010 22:29:16 +0100 keyword: do not bother about detecting extension path in demo
Christian Ebert <blacktrash@gmx.net> [Tue, 16 Mar 2010 22:29:16 +0100] rev 10714
keyword: do not bother about detecting extension path in demo Detecting and showing the path to a keyword extension in a non-standard place only made sense while keyword.py was not shipped with Mercurial. The test output has changed because we do not have a spurious space at eol anymore.
Tue, 16 Mar 2010 22:28:58 +0100 keyword: make kwdemo less verbose
Christian Ebert <blacktrash@gmx.net> [Tue, 16 Mar 2010 22:28:58 +0100] rev 10713
keyword: make kwdemo less verbose 1) Set the branchname always silently with dirstate.setbranch(). We create a branch so that testing the {branches} template does not come up empty. But kwdemo is hardly the place to inform the user by inference why {branches} is empty on the default branch. "demobranch" is ascii and cannot be changed, so using the internal command instead of commands.branch() is safe. 2) Do not show full path to temporary directory (distracting long lines on Mac OS X). 3) No special debug output. Output only related to keyword, no internals like unsetting of commit hooks etc.
Tue, 16 Mar 2010 22:28:23 +0100 keyword: 1 variable name for overwriting candidates
Christian Ebert <blacktrash@gmx.net> [Tue, 16 Mar 2010 22:28:23 +0100] rev 10712
keyword: 1 variable name for overwriting candidates
Tue, 16 Mar 2010 22:27:22 +0100 keyword: do not customize ui.note() when overwriting
Christian Ebert <blacktrash@gmx.net> [Tue, 16 Mar 2010 22:27:22 +0100] rev 10711
keyword: do not customize ui.note() when overwriting Behaviour change: hg commit --verbose now prints out the names of the files which are overwritten.
Mon, 15 Mar 2010 20:52:22 +0100 mq: test for init --mq with a destination argument stable
Cédric Duval <cedricduval@free.fr> [Mon, 15 Mar 2010 20:52:22 +0100] rev 10710
mq: test for init --mq with a destination argument
Tue, 16 Mar 2010 17:39:12 +0100 contrib/wix: fix product name to include version stable
Adrian Buehlmann <adrian@cadifra.com> [Tue, 16 Mar 2010 17:39:12 +0100] rev 10709
contrib/wix: fix product name to include version Without this, Mercurial is registered under the installed programs on Windows as just 'Mercurial', which is unusual for a program to do on Windows. Including the version in the registered product name registers the software in the Windows control panel of installed programs as, for example, 'Mercurial 1.5' (for 1.5), or as 'Mercurial 1.5.1032' for a stable 1.5+32-35893dcfd40c 'Mercurial 1.5.5080' for a unstable 1.5+80-1ee60e82333c when using http://bitbucket.org/tortoisehg/thg-winbuild to create daily builds. Furthermore, the install UI texts in the built installer database (MSI file) are more clear on what the user is about to install, as, for example, the text in the initial installer dialog now reads "The Setup Wizard will install Mercurial 1.5 on your computer" instead of just "The Setup Wizard will install Mercurial on your computer"
Tue, 16 Mar 2010 16:41:22 +0100 help: it's not necessary to escape quotes
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 16 Mar 2010 16:41:22 +0100] rev 10708
help: it's not necessary to escape quotes
Tue, 16 Mar 2010 16:39:17 +0100 check-code: remove simple quotes first
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 16 Mar 2010 16:39:17 +0100] rev 10707
check-code: remove simple quotes first
Tue, 16 Mar 2010 01:16:19 +0100 merge with stable
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 16 Mar 2010 01:16:19 +0100] rev 10706
merge with stable
Tue, 16 Mar 2010 01:16:04 +0100 filelog: no need to optimize an uncommon case, assume meta = {}
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 16 Mar 2010 01:16:04 +0100] rev 10705
filelog: no need to optimize an uncommon case, assume meta = {}
Tue, 16 Mar 2010 01:12:46 +0100 filelog: text is stored modified when it starts with '\1\n' stable
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 16 Mar 2010 01:12:46 +0100] rev 10704
filelog: text is stored modified when it starts with '\1\n'
Mon, 15 Mar 2010 16:36:32 -0500 Merge with stable
Matt Mackall <mpm@selenic.com> [Mon, 15 Mar 2010 16:36:32 -0500] rev 10703
Merge with stable
Fri, 12 Mar 2010 16:16:47 -0600 check-code: add check for any/all
Matt Mackall <mpm@selenic.com> [Fri, 12 Mar 2010 16:16:47 -0600] rev 10702
check-code: add check for any/all
Mon, 15 Mar 2010 19:55:52 +0100 cvsps: fix traceback involving 'synthetic' stable
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 15 Mar 2010 19:55:52 +0100] rev 10701
cvsps: fix traceback involving 'synthetic' https://bugzilla.redhat.com/show_bug.cgi?id=573666 Reported by Sjoerd Mullender
Mon, 15 Mar 2010 18:40:00 +0100 progress: use a verb in present participle
Martin Geisler <mg@lazybytes.net> [Mon, 15 Mar 2010 18:40:00 +0100] rev 10700
progress: use a verb in present participle
Mon, 15 Mar 2010 18:36:11 +0100 Merge with stable
Martin Geisler <mg@lazybytes.net> [Mon, 15 Mar 2010 18:36:11 +0100] rev 10699
Merge with stable
Mon, 15 Mar 2010 18:33:39 +0100 progress: use a verb (+noun) in present participle stable
Martin Geisler <mg@lazybytes.net> [Mon, 15 Mar 2010 18:33:39 +0100] rev 10698
progress: use a verb (+noun) in present participle
Sun, 14 Mar 2010 00:28:10 +0100 subrepo: fix hgrc paths section during subrepo pulling stable
Edouard Gomez <ed.gomez@free.fr> [Sun, 14 Mar 2010 00:28:10 +0100] rev 10697
subrepo: fix hgrc paths section during subrepo pulling There are two bugs in current subrepo ctor: - hgrc paths were using parent repo (ctx._repo) instead of self._repo - it was joined with local extract path, not its source repo path Fixed both bugs using _abssource on self once it is fully initialized. It gets the job done perfectly for pull and push urls.
Sun, 14 Mar 2010 23:18:50 +0100 Merge with crew-stable
Patrick Mezard <pmezard@gmail.com> [Sun, 14 Mar 2010 23:18:50 +0100] rev 10696
Merge with crew-stable
Tue, 09 Mar 2010 12:09:57 +0100 convert: teach cvsps to handle . repository (issue1649) stable
Mathieu Clabaut <mathieu.clabaut@systerel.fr> [Tue, 09 Mar 2010 12:09:57 +0100] rev 10695
convert: teach cvsps to handle . repository (issue1649) For a CVS repository checked out with "cvs co .", the prefix used to strip of what we get from CVS was previously erroneously set to "repopath/.". We now prevent the dot to be added. Test folded in test-convert-cvs and simplified by Patrick Mézard <pmezard@gmail.com>.
Sun, 14 Mar 2010 23:10:52 +0100 record: separate each hunk with a blank line
Martin Geisler <mg@lazybytes.net> [Sun, 14 Mar 2010 23:10:52 +0100] rev 10694
record: separate each hunk with a blank line This makes it easier for the eye to find the beginning of a hunk when scrolling up in the terminal.
Sun, 14 Mar 2010 22:17:10 +0100 mq: do not try to delete non-existent files (regression from e8e56d8377ab)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 14 Mar 2010 22:17:10 +0100] rev 10693
mq: do not try to delete non-existent files (regression from e8e56d8377ab)
Sun, 14 Mar 2010 22:21:48 +0100 Merge with stable
Martin Geisler <mg@lazybytes.net> [Sun, 14 Mar 2010 22:21:48 +0100] rev 10692
Merge with stable
Sun, 14 Mar 2010 18:46:38 +0100 mq: fix init with nonexistent or non-local repository stable
Cédric Duval <cedricduval@free.fr> [Sun, 14 Mar 2010 18:46:38 +0100] rev 10691
mq: fix init with nonexistent or non-local repository
(0) -10000 -3000 -1000 -300 -100 -50 -30 +30 +50 +100 +300 +1000 +3000 +10000 +30000 tip