jfh <jason@jasonfharris.com> [Tue, 15 Feb 2011 23:23:16 +1300] rev 13406
debugignore: catch the case when ignore.includepat doesn't exist
In testing of my recent addition of a debugignore command, some of my MacHg
users uncovered the exceptional case that if there is no ignore patterns of any
kind then a traceback occurred. Catch and fix this case.
Mads Kiilerich <mads@kiilerich.com> [Tue, 15 Feb 2011 02:17:43 +0100] rev 13405
tests: use printenv.py where it is - don't copy it around
Mads Kiilerich <mads@kiilerich.com> [Tue, 15 Feb 2011 01:05:32 +0100] rev 13404
tests: let printenv.py show the real values
Test paths are now hidden by the test framework, so HG_URL no longer needs
mangling.
Mads Kiilerich <mads@kiilerich.com> [Tue, 15 Feb 2011 01:04:10 +0100] rev 13403
hgweb: make paths wildcards expanding in a repo root match repo correctly
There was a trailing '/' too much when the wildcard part expanded to nothing.
The consequence was that the repo was announced but didn't work.
Mads Kiilerich <mads@kiilerich.com> [Tue, 15 Feb 2011 01:04:10 +0100] rev 13402
hgweb: doctest of url creation from wildcard expansion
Matt Mackall <mpm@selenic.com> [Mon, 14 Feb 2011 18:04:20 -0600] rev 13401
bookmarks: fix up test-https
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Fri, 24 Dec 2010 15:23:01 +0100] rev 13400
explicitly close files
Add missing calls to close() to many places where files are
opened. Relying on reference counting to catch them soon-ish is not
portable and fails in environments with a proper GC, such as PyPy.
Afuna [Fri, 11 Feb 2011 22:24:10 +0800] rev 13399
tag: add tests for tags with whitespace (
issue2174)
Afuna [Fri, 11 Feb 2011 17:23:24 +0800] rev 13398
doc: Add diff.unified to the hgrc docs.
Steven Brown <StevenGBrown@gmail.com> [Wed, 26 Jan 2011 18:19:49 +0800] rev 13397
tests: push wire protocol over CGI-based hgweb
jfh <jason@jasonfharris.com> [Sat, 15 Jan 2011 16:02:03 +0100] rev 13396
add debugignore which yields the combined ignore patten of the .hgignore files
For GUI clients its sometimes important to know which files will be ignored and
which files will be important. This allows the GUI client to skipping redoing a
'hg status' when the files are ignored but have changed. (For instance, a
typical case is that the "build" directory inside some project is ignored but
files in it frequently change.)
Gastón Kleiman <gaston.kleiman@gmail.com> [Fri, 04 Feb 2011 16:32:14 -0300] rev 13395
diffstat: fix parsing of filenames with spaces
The patch changes the output of "hg diff --stat" when one file whose filename
has spaces has changed, making it get the full filename instead of just the
substring between the last space and the end of the filename.
It also changes the diffstat generated by "hg email -d" when one of the commit
messages starts with "diff". Because of the regex used to parse the filename,
the diffstat generated by "hg email -d" will still be not correct if a commit
message starts with "diff -r ".
Before the patch Mercurial has the following behavior:
$ echo "foobar">"file with spaces"
$ hg add "file with spaces"
$ hg diff --stat
spaces | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
$ hg diff --git --stat
file with spaces | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
After the patch:
$ echo "foobar">"file with spaces"
$ hg add "file with spaces"
$ hg diff --stat
file with spaces | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
$ hg diff --git --stat
file with spaces | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Before the patch:
$ hg add mercurial/patch.py tests/tests-diffstat.t
$ hg commit -m "diffstat: fix parsing of filenames"
$ hg email -d --test tip
This patch series consists of 1 patches.
diffstat: fix parsing of filenames
[...]
filenames | 0
mercurial/patch.py | 6 ++++--
tests/test-diffstat.t | 17 +++++++++++++++++
3 files changed, 21 insertions(+), 2 deletions(-)
[...]
After the patch:
$ hg email -d --test tip
This patch series consists of 1 patches.
diffstat: fix parsing of filenames
[...]
mercurial/patch.py | 6 ++++--
tests/test-diffstat.t | 17 +++++++++++++++++
3 files changed, 21 insertions(+), 2 deletions(-)
[...]
Roman Sokolov <sokolov.r.v@gmail.com> [Thu, 10 Feb 2011 15:41:34 +0300] rev 13394
dispatch: use flag cmdalias.shell for detecting shell aliases
Roman Sokolov <sokolov.r.v@gmail.com> [Fri, 11 Feb 2011 03:46:28 +0300] rev 13393
dispatch: debug message for missing arguments in shell alias
Shows debug message if alias definition contains substitution variables,
but insufficient number of arguments supplied.
Roman Sokolov <sokolov.r.v@gmail.com> [Fri, 11 Feb 2011 03:32:40 +0300] rev 13392
dispatch: support for $ escaping in shell-alias definition
Sigils in shell-alias can be escaped by doubling them.
Adrian Buehlmann <adrian@cadifra.com> [Fri, 28 Jan 2011 13:38:34 +0100] rev 13391
fncachestore: defer updating the fncache file to a single file open
Defers updating the fncache file with newly added entries to the end of
the transaction (on e.g. pull), doing a single open call on the fncache
file, instead of opening and closing it each time a new entry is added
to the store.
Implemented by adding a new abstract write() function on store.basicstore
and registering it as a release function on the store lock in
localrepo.lock (compare with dirstate.write).
store.fncachestore overrides write() from basicstore and calls a new
write function on the fncache object, which writes all entries to the
fncache file if it's dirty.
store.fncache.add() now just marks itself as dirty if a new name is added.
Adrian Buehlmann <adrian@cadifra.com> [Fri, 28 Jan 2011 13:34:07 +0100] rev 13390
localrepo: acquire lock on stream_in
Adrian Buehlmann <adrian@cadifra.com> [Fri, 28 Jan 2011 13:54:38 +0100] rev 13389
tests: sort fncache
David Soria Parra <dsp@php.net> [Fri, 11 Feb 2011 20:35:32 +0100] rev 13388
localrepo: sort hg bookmark output
sort bookmarks before we write them to stdout to get a predictable output.
David Soria Parra <dsp@php.net> [Fri, 11 Feb 2011 20:35:30 +0100] rev 13387
templates: add bookmarks to command line styles
David Soria Parra <dsp@php.net> [Fri, 11 Feb 2011 19:47:39 +0100] rev 13386
templater: add bookmarks to templates and default output
as bookmarks are not dispalyed as tags anymore, we add a bookmark label
to the changeset printer.
David Soria Parra <dsp@php.net> [Fri, 11 Feb 2011 19:44:17 +0100] rev 13385
tags: do not merge bookmarks with tags
bookmarks are no tags, therefore they should not be returned as tags.
David Soria Parra <dsp@php.net> [Fri, 11 Feb 2011 19:36:15 +0100] rev 13384
context: add method to return all bookmarks pointing to a node
Adrian Buehlmann <adrian@cadifra.com> [Sun, 13 Feb 2011 11:14:46 +0100] rev 13383
contrib: add win32/buildlocal.bat
Adrian Buehlmann <adrian@cadifra.com> [Sat, 12 Feb 2011 10:58:11 +0100] rev 13382
Make sure bundlerepo doesn't leak temp files (
issue2491)
Add empty repository.close() and call it in dispatch.
Remove bundlerepository.__del__(), merging it into bundlerepository.close(),
which overrides repository.close().
http://docs.python.org/reference/datamodel.html says:
"It is not guaranteed that __del__() methods are called for objects that
still exist when the interpreter exits."
David Soria Parra <dsp@php.net> [Fri, 11 Feb 2011 19:32:49 +0100] rev 13381
bookmarks: read current bookmark as utf-8 and convert it to local
Javi Merino <cibervicho@gmail.com> [Mon, 14 Feb 2011 07:39:21 +0000] rev 13380
hgk: gitk->hgk in About... menu
Adrian Buehlmann <adrian@cadifra.com> [Mon, 14 Feb 2011 11:13:05 +0100] rev 13379
eliminate win32.user_rcpath_win32()
Adrian Buehlmann <adrian@cadifra.com> [Mon, 14 Feb 2011 11:12:57 +0100] rev 13378
windows: eliminate system_rcpath_win32()
Adrian Buehlmann <adrian@cadifra.com> [Mon, 14 Feb 2011 11:12:35 +0100] rev 13377
win32: move system_rcpath_win32() to windows.py
no code change in system_rcpath_win32
This breaks the dependency from the win32 module on osutil
Adrian Buehlmann <adrian@cadifra.com> [Mon, 14 Feb 2011 11:12:31 +0100] rev 13376
win32: new function executable_path
Adrian Buehlmann <adrian@cadifra.com> [Mon, 14 Feb 2011 11:12:26 +0100] rev 13375
port win32.py to using the Python ctypes library
The pywin32 package is no longer needed.
ctypes is now required for running Mercurial on Windows.
ctypes is included in Python since version 2.5. For Python 2.4, ctypes is
available as an extra installer package for Windows.
Moved spawndetached() from windows.py to win32.py and fixed it, using
ctypes as well. spawndetached was defunct with Python 2.6.6 because Python
removed their undocumented subprocess.CreateProcess. This fixes
'hg serve -d' on Windows.