Matt Mackall <mpm@selenic.com> [Tue, 17 Aug 2010 17:44:19 -0500] rev 11958
merge with stable
Matt Mackall <mpm@selenic.com> [Tue, 17 Aug 2010 17:41:20 -0500] rev 11957
merge with i18n
Matt Mackall <mpm@selenic.com> [Tue, 17 Aug 2010 17:40:53 -0500] rev 11956
merge with i18n
Wagner Bruna <wbruna@softwareexpress.com.br> [Tue, 17 Aug 2010 12:02:34 -0300] rev 11955
i18n-pt_BR: fix typo in commit help text
spotted by Fred Maranhão
Wagner Bruna <wbruna@softwareexpress.com.br> [Mon, 16 Aug 2010 16:10:30 -0300] rev 11954
i18n: merge with stable
Wagner Bruna <wbruna@softwareexpress.com.br> [Mon, 16 Aug 2010 16:06:10 -0300] rev 11953
i18n-pt_BR: synchronized with 2da0cf99b642
Wagner Bruna <wbruna@softwareexpress.com.br> [Mon, 16 Aug 2010 15:46:00 -0300] rev 11952
i18n-pt_BR: fix typo
Martin Geisler <mg@lazybytes.net> [Sun, 15 Aug 2010 18:58:22 +0200] rev 11951
i18n-da: synchronized with 7fa36341e7a0
Alecs King <alecsk@gmail.com> [Fri, 13 Aug 2010 14:29:30 +0800] rev 11950
log: fix the bug 'hg log --stat -p == hg log --stat'
Before:
hg log --stat -p -r tip # only show stat
After:
hg log --stat -p -r tip # show stat _and_ diff
Renato Cunha <renatoc@gmail.com> [Sun, 08 Aug 2010 15:48:58 -0300] rev 11949
hgfixes: added a fixer to convert changes in the email package
This patch adds a fixer that accounts for changes in python packages, as the
framework provided by lib2to3 is only able to track changes in module names.
This fixer (hopefully) can fix any change in one-level hierarchies.
To exemplify, this fixer can successfully change an import from
"email.MIMEMultipart" to "email.mime.multipart".
Renato Cunha <renatoc@gmail.com> [Tue, 03 Aug 2010 13:18:16 -0300] rev 11948
contrib/setup3k.py: added script to build hg with py3k
This patch implements a script that inherits most of its functionality from
hg's setup.py and adds support to calling 2to3 during invocation with python3.
The motivation of having this script around is twofold:
1) It enables py3k crazies to test mercurial in py3k and, hopefully, patch it
more easily, so it can improve the py3k support to eventually run there.
2) Being separated from the main setup.py eliminates the need to make hg's
setup.py even more cluttered, and enables "independent" development until
the port is done.
Some considerations about the structure of this patch:
Mercurial already overrides the behavior of build_py, this patch tweaks it a bit
more to add support to call 2to3 with a custom fixer* location for Mercurial.
There is also a need of having the core C modules built *before* the
translation process starts, otherwise 2to3 will think those are global modules.
* A fixer is a python module that transforms python 2.x code in python 3.x
code.
Renato Cunha <renatoc@gmail.com> [Mon, 16 Aug 2010 16:35:20 -0300] rev 11947
mq: save qrefresh message for easy recovery in case it fails (issue2062)
Currently, if you start editing a commit message from qrefresh -e and, for any
reason: forget you were editing it, leave the editor open and start qpopping
and qpushing, when you decide to save your commit message, it is going to fail.
This patch copies the commit behavior of saving the message contents in
$HGROOT/.hg/last-message.txt before continuing.
Sol Jerome <sol.jerome@gmail.com> [Tue, 17 Aug 2010 17:38:19 -0500] rev 11946
util: avoid using hashlib on Python < 2.5 (issue2278)
The following patch allows the use of python2.4 with a standalone
hashlib rather than assuming that python2.5 is in use when hashlib is
imported successfully.
Alecs King <alecsk@gmail.com> [Wed, 11 Aug 2010 20:28:39 +0800] rev 11945
ui: differentiate empty configlist from None
Wagner Bruna <wbruna@softwareexpress.com.br> [Fri, 13 Aug 2010 13:11:41 -0300] rev 11944
revset: predicate to avoid lookup errors
A query like
head() and (descendants("bad") and not descendants("fix"))
(testing if repo heads are affected by a bug) will abort with a
RepoLookupError if either badrev or fixrev aren't found inside
the repository, which is not very informative.
The new predicate returns an empty set for lookup errors, so
head() and (descendants(present("bad")) and not descendants(present("fix")))
will behave as wanted even if those revisions are not found.
Greg Ward <greg-hg@gerg.ca> [Fri, 13 Aug 2010 13:16:34 -0400] rev 11943
inotify: show the exact command used to start the server
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Tue, 17 Aug 2010 17:46:10 +0200] rev 11942
demandimport: store level argument on _demandmod instances
The 'level' argument to __import__ was added in Python 2.6, and is
specified for either relative or absolute imports. The fix introduced
in e160f2312815 allowed such imports to proceed without failure, but
effectively disabled demandimport for them. This is particularly
unfortunate in Python 3.x, where *all* imports are either relative or
absolute.
The solution introduced here is to store the level argument on the
demandimport instance, and propagate it to _origimport() when its
value isn't None.
Please note that this patch hasn't been tested in Python 3.x, and thus
may not be complete. I'm worried about how sub-imports are handled; I
don't know what they are, or whether the level argument should be
modified for them. I've added 'TODO' notes to these cases; hopefully,
someone more knowledgable of these issues will deal with them.
Xavier Snelgrove <xs@wxs.ca> [Fri, 13 Aug 2010 13:59:26 -0400] rev 11941
revert: use opts.get
If you want to programatically perform a revert right now you need to
include a date=False parameter due to the use of opt["date"] instead
of opt.get("date").
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 17 Aug 2010 08:38:31 +0530] rev 11940
tests: unify test-copy2
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 15 Aug 2010 13:29:46 +0200] rev 11939
mq/qqueue: enable renaming of active queue
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 15 Aug 2010 16:48:08 +0200] rev 11938
mq/qqueue: split _setactive
Prepare _setactive to be called without checking for applied patches.
Matt Mackall <mpm@selenic.com> [Tue, 17 Aug 2010 13:22:20 -0500] rev 11937
merge with stable
Matt Mackall <mpm@selenic.com> [Mon, 16 Aug 2010 12:55:42 -0500] rev 11936
templates: add filenolink to raw style (issue2332)
Matt Mackall <mpm@selenic.com> [Sun, 15 Aug 2010 23:13:56 -0500] rev 11935
revlog: optimize deltachain
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 10 Aug 2010 22:28:52 +0530] rev 11934
manifest: correct readdelta() according to parentdeltas
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 10 Aug 2010 22:28:30 +0530] rev 11933
contrib: simple extension to practically convert a repo from tip delta to parentdelta
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 10 Aug 2010 22:28:08 +0530] rev 11932
localrepo: add parentdelta to requires only if enabled in config file
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 10 Aug 2010 22:27:41 +0530] rev 11931
revlog: append delta against p1
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 10 Aug 2010 22:27:16 +0530] rev 11930
revlog: teach revlog to construct a revision from parentdeltas
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 10 Aug 2010 22:26:08 +0530] rev 11929
revlog: deltachain() returns chain of revs need to construct a revision
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 10 Aug 2010 22:25:08 +0530] rev 11928
revlog: parentdelta flags for revlog index
Martin Geisler <mg@lazybytes.net> [Tue, 17 Aug 2010 17:33:42 +0200] rev 11927
glossary: fixed typo
Martin Geisler <mg@lazybytes.net> [Tue, 17 Aug 2010 17:27:37 +0200] rev 11926
Merge with stable
Adrian Buehlmann <adrian@cadifra.com> [Sun, 15 Aug 2010 20:36:49 +0200] rev 11925
tests: unify test-clone-r
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 17 Aug 2010 18:07:05 +0530] rev 11924
tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 17 Aug 2010 18:04:04 +0530] rev 11923
tests: unify tests-debugindexdot
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 17 Aug 2010 18:02:13 +0530] rev 11922
tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 17 Aug 2010 17:57:48 +0530] rev 11921
tests: unify test-diffdir
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 17 Aug 2010 17:56:26 +0530] rev 11920
tests: unify test-children
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 17 Aug 2010 17:54:32 +0530] rev 11919
tests: unify test-revlog-packentry
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 17 Aug 2010 17:53:11 +0530] rev 11918
tests: unify test-revlog-group-emptyiter
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 17 Aug 2010 17:48:59 +0530] rev 11917
tests: unify test-install
Martin Geisler <mg@lazybytes.net> [Tue, 17 Aug 2010 16:53:03 +0200] rev 11916
tests: unify test-subrepo-svn
Martin Geisler <mg@lazybytes.net> [Tue, 17 Aug 2010 16:52:47 +0200] rev 11915
tests: unify test-subrepo-relative-path
Martin Geisler <mg@lazybytes.net> [Tue, 17 Aug 2010 16:52:42 +0200] rev 11914
tests: unify test-subrepo-paths
Martin Geisler <mg@lazybytes.net> [Tue, 17 Aug 2010 16:52:26 +0200] rev 11913
tests: unify test-subrepo-deep-nested-change
Martin Geisler <mg@lazybytes.net> [Tue, 17 Aug 2010 16:52:05 +0200] rev 11912
tests: unify test-subrepo
Martin Geisler <mg@lazybytes.net> [Tue, 17 Aug 2010 13:59:37 +0200] rev 11911
glossary: add entry for "Branch, inactive"
Andreas Freimuth <andreas.freimuth@united-bits.de> [Mon, 16 Aug 2010 20:44:33 +0200] rev 11910
tests: unify test-patchbomb
Martin Geisler <mg@lazybytes.net> [Mon, 16 Aug 2010 20:33:58 +0200] rev 11909
Merge with mpm
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 16 Aug 2010 10:59:38 +0900] rev 11908
tests: unify test-mq-symlinks
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 16 Aug 2010 10:58:03 +0900] rev 11907
tests: use regular expressions instead of helpers
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 16 Aug 2010 10:53:52 +0900] rev 11906
tests: unify test-mq-strip
Matt Mackall <mpm@selenic.com> [Sun, 15 Aug 2010 13:26:12 -0500] rev 11905
tests: drop big sed from test-keyword.t
Christian Ebert <blacktrash@gmx.net> [Fri, 13 Aug 2010 13:54:33 +0100] rev 11904
tests: unify test-keyword
Matt Mackall <mpm@selenic.com> [Fri, 13 Aug 2010 13:20:15 -0500] rev 11903
test-walk: enable absolute path tests
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 16 Aug 2010 02:03:29 +0900] rev 11902
tests: unify test-grep
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 15 Aug 2010 23:38:00 +0900] rev 11901
cmdutil: code simplification
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 15 Aug 2010 23:34:46 +0900] rev 11900
tests: unify test-log
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 15 Aug 2010 23:17:53 +0900] rev 11899
log: do not --follow file that is deleted and recreated later (issue732)
== What ==
issue732 is only one example of a buggy behaviour, but there are in fact many
intricated cases. For example:
( "o" contains an alive version of the tracked file, "x" does not)
tip - o - o - x - o - o - x ...
\
o - o - o - o - x ...
\ /
o - o
This repository contains at least two instances of the tracked file, but
when calling "hg log -f file" only the latest one (the one alive in tip)
matters to us.
== How ==
We must extract from the filelog the history of the file instance we're
interested in and discard changes related to other instances of that file.
We see that we're only interested in ancestors(node), and that all
other nodes in the filelog should not be considered.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 15 Aug 2010 22:44:15 +0900] rev 11898
tests: unify test-mq-safety
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 15 Aug 2010 22:07:23 +0900] rev 11897
tests: unify test-mq-caches
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 15 Aug 2010 21:58:43 +0900] rev 11896
tests: unify test-mq-guards
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 15 Aug 2010 21:45:31 +0900] rev 11895
tests: unify test-mq-eol
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 15 Aug 2010 21:41:45 +0900] rev 11894
tests: unify test-mq
Patrick Mezard <pmezard@gmail.com> [Sun, 15 Aug 2010 18:50:19 +0200] rev 11893
Merge with stable
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Sat, 14 Aug 2010 01:30:54 +0200] rev 11892
encoding: improve handling of buggy getpreferredencoding() on Mac OS X
Prior to version 2.7, calling locale.getpreferredencoding() would
always return 'mac-roman' on Mac OS X. Previously, this was handled by
a call to locale.setlocale(). Unfortunately, Python 2.6.5 and older
have a bug where isspace() would incorrectly report True for 0x85 and
0xa0 after such a call.
In order to fix this, we replace the previous _encodingfixup mapping
to an _encodingfixers mapping. Rather than mapping encodings to their
replacement, it maps them to a function returning the
replacement. This allows us to provide an simplified implementation of
getpreferredencoding() which extracts the expected encoding and
restores the locale.
This fix is based on a patch originally submitted by Martijn Pieters
as well as feedback from Brodie Rao.
Patrick Mezard <pmezard@gmail.com> [Sun, 15 Aug 2010 17:50:52 +0200] rev 11891
templatefilters: unnest uescape()
Yuya Nishihara <yuya@tcha.org> [Wed, 11 Aug 2010 01:06:21 +0900] rev 11890
templatefilters: use \uxxxx style escape for JSON string
It's embeddable in plain javascript, and also conforms to JSON standard.
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Fri, 13 Aug 2010 17:21:06 +0200] rev 11889
test-notify: make it pass on Mac OS X (again)
Changeset 25e74cd3f023 (from 2008) introduced a hack to handle the
very long values of $TMPDIR typically seen on Mac OS X. This hack
expected continuation lines to begin with a tab. However, as a result
of a change in Python 2.7, changeset 594b98846ce1 made it so
continuation lines began with a tab. Since then, `test-notify' has
been broken on Mac OS X.
Merely replacing the tab in the regular expression with a space will
not work: not only do tab continuations still occur in the message, but
other lines -- in the body of the message -- also start with a
space. Luckily, all broken up lines appear to end with either a colon
or an n, so we can match those, and reinsert them in the replacement.
Adrian Buehlmann <adrian@cadifra.com> [Sun, 15 Aug 2010 18:25:29 +0200] rev 11888
tests: combine test-dirstate-future.t
into test-dirstate.t
Adrian Buehlmann <adrian@cadifra.com> [Sun, 15 Aug 2010 18:24:49 +0200] rev 11887
tests: unify test-dirstatedirs
Martin Geisler <mg@lazybytes.net> [Sun, 15 Aug 2010 18:13:46 +0200] rev 11886
Merge with stable
Martin Geisler <mg@lazybytes.net> [Sun, 15 Aug 2010 17:49:59 +0200] rev 11885
dagparser: transplant part of 4e804302d30c
Martin Geisler <mg@lazybytes.net> [Sun, 15 Aug 2010 17:48:05 +0200] rev 11884
check-code: catch "echo -n" in tests
Martin Geisler <mg@lazybytes.net> [Sun, 15 Aug 2010 17:42:44 +0200] rev 11883
test-init: replace 'echo -n' with 'printf'
The '-n' argument to echo is a non-standard extension that isn't
supported on Mac OS X 10.6.
Wagner Bruna <wbruna@softwareexpress.com.br> [Thu, 12 Aug 2010 20:54:34 -0300] rev 11882
revset: fix outgoing argument handling
Martin Geisler <mg@lazybytes.net> [Sun, 15 Aug 2010 17:33:03 +0200] rev 11881
debugbuilddag: escape backslash properly in help string
Renato Cunha <renatoc@gmail.com> [Sat, 14 Aug 2010 18:31:22 -0300] rev 11880
url.py: removed 'file' inheritance in the httpsendfile class
Since py3k doesn't have a "file" builtin and, consequently, doesn't support
inheriting from it, this patch refactors the httpsendfile class to wrap the
objects returned by the builtin "open" function while adding the necessary
methods (__len__ for constructing the Content-Length header and read, write,
close and seek for the file-like interface).
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 15 Aug 2010 11:05:04 +0200] rev 11879
fix undefined variables, spotted by pylint
Renato Cunha <renatoc@gmail.com> [Sat, 07 Aug 2010 16:38:38 -0300] rev 11878
py3kcompat: added fake ord implementation for py3k
In py3k, a bytes object __getitem__ will return an int instead of a
one-character bytes object. This has negative consequences when we want to
ord(), like in the following example:
>>> b'foo'[0]
102
>>> ord(b'foo'[0])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: ord() expected string of length 1, but int found
This patch overrides the default ord() implementation to just return an int
that's what is passed as an argument for ord(). Making the above call succeed:
>>> ord(b'foo'[0])
102
Greg Ward <greg-hg@gerg.ca> [Sat, 14 Aug 2010 14:57:33 +0200] rev 11877
commit: explicitly document the existence of "last-message.txt"
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:30:35 +0200] rev 11876
Merge with stable
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:28:45 +0200] rev 11875
tests: unify test-changelog-exec
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:27:24 +0200] rev 11874
tests: unify test-cat
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:26:03 +0200] rev 11873
tests: unify test-bundle-vs-outgoing
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:23:56 +0200] rev 11872
tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:22:11 +0200] rev 11871
tests: unify test-bundle-r
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:16:02 +0200] rev 11870
tests: unify test-bundle
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:08:02 +0200] rev 11869
tests: unify test-branch-option
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:06:52 +0200] rev 11868
tests: unify test-branches
Adrian Buehlmann <adrian@cadifra.com> [Fri, 13 Aug 2010 00:34:44 +0200] rev 11867
tests: unify test-dumprevlog
Adrian Buehlmann <adrian@cadifra.com> [Thu, 12 Aug 2010 20:25:37 +0200] rev 11866
tests: unify test-dirstate-future
Adrian Buehlmann <adrian@cadifra.com> [Thu, 12 Aug 2010 17:30:12 +0200] rev 11865
tests: unify test-fncache
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:00:22 +0200] rev 11864
tests: unify test-bookmarks-strip
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:59:48 +0200] rev 11863
tests: unify test-bookmarks-rebase
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:58:34 +0200] rev 11862
tests: unify test-bookmarks-current
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:57:54 +0200] rev 11861
tests: unify test-bookmarks
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:55:54 +0200] rev 11860
tests: unify test-bisect2
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:39:39 +0200] rev 11859
tests: unify test-bad-pull
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:35:44 +0200] rev 11858
tests: unify test-bad-extension
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:30:05 +0200] rev 11857
tests: unify test-backwards-remove
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:28:53 +0200] rev 11856
tests: unify test-backout
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:26:58 +0200] rev 11855
tests: unify test-audit-path
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:26:53 +0200] rev 11854
tests: unify test-archive-symlinks
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:22:10 +0200] rev 11853
tests: unify test-archive
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:18:17 +0200] rev 11852
tests: unify test-annotate
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:17:59 +0200] rev 11851
tests: unify test-addremove-similar
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:12:01 +0200] rev 11850
tests: unify test-addremove
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:11:18 +0200] rev 11849
tests: unify test-acl
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:03:01 +0200] rev 11848
tests: unify test-abort-checkin
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 02:00:33 +0200] rev 11847
tests: unify test-1102
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 01:58:04 +0200] rev 11846
tests: unify test-586
Mads Kiilerich <mads@kiilerich.com> [Sat, 14 Aug 2010 01:31:57 +0200] rev 11845
mercurial.spec: gettext is a build requirement for getting proper localization
Wagner Bruna <wbruna@softwareexpress.com.br> [Fri, 13 Aug 2010 13:32:05 -0300] rev 11844
http basic auth: reset redirect counter on new requests (issue2255)
On Python 2.6.6 (and patched 2.6.5 on certain Linux distros),
the change that caused issue2255 was also applied to non-digest
authentication; this change extends the 2ec346160783 fix
accordingly.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 13 Aug 2010 18:02:02 +0200] rev 11843
rebase: recompute the set of skipped rev when using --continue (issue2330)
Lee Cantey <lcantey@gmail.com> [Sun, 25 Jul 2010 08:22:03 -0700] rev 11842
Remove variable output affected by length of TMPDIR.
If the temporary directory is longer than /tmp then it's possible that
the Subject line will get wrapped by the headencode function.
Martin Geisler <mg@aragost.com> [Fri, 13 Aug 2010 15:18:15 +0200] rev 11841
Merge with stable
Martin Geisler <mg@aragost.com> [Fri, 13 Aug 2010 15:17:55 +0200] rev 11840
tests: update to match "hg help resolve" output from 53fdc0989047
Martin Geisler <mg@aragost.com> [Fri, 13 Aug 2010 11:12:37 +0200] rev 11839
test-clone: f1c2de22b8a8 lost changes from b1ae33b813cb
Martin Geisler <mg@aragost.com> [Fri, 13 Aug 2010 10:53:10 +0200] rev 11838
url: limit expansion to safe auth keys (Issue2328)
Mads Kiilerich pointed out that 7c9beccb0533 was too eager since the
prefix and password keys may contain $-signs. So this only add the
username to the list of keys that are expanded.
This also updates the documentation to match.
Martin Geisler <mg@aragost.com> [Fri, 13 Aug 2010 10:28:59 +0200] rev 11837
Merge with stable
Mark Edgington <edgimar@gmail.com> [Thu, 12 Aug 2010 22:48:22 +0200] rev 11836
resolve: updated help documentation for improved clarity
Daniel J. Lauk <daniel.lauk@gmail.com> [Thu, 12 Aug 2010 11:15:33 +0200] rev 11835
convert: Test svn sink for a repo with tags.
This test case backs the fix in changeset 7e5f5e5858f9. The subversion
sink used to crash, if the source repo used tags.
Martin Geisler <mg@aragost.com> [Fri, 13 Aug 2010 10:13:38 +0200] rev 11834
hgrc.5: fix "hg hg status" -> "hg status"
Martin Geisler <mg@aragost.com> [Fri, 13 Aug 2010 10:10:11 +0200] rev 11833
url: expand vars in all [auth] settings (issue2328)
Matt Mackall <mpm@selenic.com> [Thu, 12 Aug 2010 18:09:03 -0500] rev 11832
merge with stable
Matt Mackall <mpm@selenic.com> [Thu, 12 Aug 2010 18:08:52 -0500] rev 11831
merge with i18n
Matt Mackall <mpm@selenic.com> [Thu, 12 Aug 2010 18:08:31 -0500] rev 11830
merge with i18n
Martin Geisler <mg@aragost.com> [Thu, 12 Aug 2010 18:10:42 +0200] rev 11829
i18n: merge Romanian translation
Martin Geisler <mg@aragost.com> [Thu, 12 Aug 2010 18:10:26 +0200] rev 11828
i18n: merge with stable
Paolo Giarrusso <p.giarrusso@gmail.com> [Thu, 12 Aug 2010 16:53:56 +0200] rev 11827
i18n-it: update many broken fuzzy messages
I started updating many fuzzy messages which no longer expressed the
intended meaning - new translations are inserted only to keep
coherence.
Not all fuzzy messages have been fixed, yet.
Paolo Giarrusso <p.giarrusso@gmail.com> [Thu, 12 Aug 2010 16:30:17 +0200] rev 11826
i18n-it: readd missing non-ASCII characters
Some accented vowels had disappeared.
Paolo Giarrusso <p.giarrusso@gmail.com> [Thu, 12 Aug 2010 16:30:17 +0200] rev 11825
i18n-it: avoid using two spaces after a '.'
See http://en.wikipedia.org/wiki/Sentence_spacing to verify that
single spacing is indeed correct.
Daniel Dumitriu <daniel.dumitriu@gmail.com> [Mon, 09 Aug 2010 10:56:56 +0200] rev 11824
i18n-ro: initial version
Martin Geisler <mg@aragost.com> [Thu, 12 Aug 2010 18:30:24 +0200] rev 11823
Merge with stable
Martin Geisler <mg@aragost.com> [Thu, 12 Aug 2010 18:30:06 +0200] rev 11822
test-check-code: fix test after e1359ad582f6
Martin Geisler <mg@aragost.com> [Thu, 12 Aug 2010 18:00:41 +0200] rev 11821
cmdutil: remove unnecessary parenthesis
Martin Geisler <mg@aragost.com> [Thu, 12 Aug 2010 17:58:03 +0200] rev 11820
patch: fix typo in comment
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Thu, 05 Aug 2010 12:25:53 +0200] rev 11819
qguard: label patch names by status when listing guards
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 02 Jul 2010 15:12:50 +0900] rev 11818
hg.clone: do not ignore branch argument when source is a repo object
This is a revert of 4a70178f9bde. The "bug" mentioned in this changeset is unclear:
hopefully using a test to cover this usage should prevent any bugs.
Alecs King <alecsk@gmail.com> [Wed, 11 Aug 2010 20:16:22 +0800] rev 11817
merge: fix typo in docstring
Alecs King <alecsk@gmail.com> [Thu, 12 Aug 2010 16:42:41 +0800] rev 11816
check-code: add exit status
so that we can use it in a shell command combination and/or in hg hooks.
Christian Ebert <blacktrash@gmx.net> [Thu, 12 Aug 2010 09:40:48 +0100] rev 11815
test-patch.t: typos
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 23:46:56 +0900] rev 11814
tests: unify test-alias
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 23:27:32 +0900] rev 11813
tests: unify test-parents
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 23:22:25 +0900] rev 11812
tests: merge all 4 test-symlink* into test-symlinks
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 23:02:12 +0900] rev 11811
tests: unify test-symlink-root
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 23:00:36 +0900] rev 11810
tests: unify test-symlink-basic
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 22:58:46 +0900] rev 11809
tests: unify test-symlink-addremove
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 22:57:06 +0900] rev 11808
tests: unify test-qimport-eol
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 22:54:41 +0900] rev 11807
tests: unify test-import
Adrian Buehlmann <adrian@cadifra.com> [Tue, 10 Aug 2010 13:21:28 +0200] rev 11806
tests: unify test-clone
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 22:31:40 +0900] rev 11805
tests: unify test-copy
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 22:28:21 +0900] rev 11804
tests: unify test-commit-unresolved
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 22:24:13 +0900] rev 11803
unify test-commit-copy
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 22:22:17 +0900] rev 11802
tests: unify test-commit
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 22:19:59 +0900] rev 11801
tests: unify test-committer
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 22:14:19 +0900] rev 11800
tests: unify test-transplant
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 21:52:53 +0900] rev 11799
tests: unify test-walk
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 20:08:02 +0900] rev 11798
tests: unify test-symlinks
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 20:02:59 +0900] rev 11797
tests: unify test-conflict
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 19:49:58 +0900] rev 11796
tests: unify test-identify
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 19:43:45 +0900] rev 11795
tests: unify test-add
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 19:40:22 +0900] rev 11794
tests: remove useless sed in test-hook
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 19:38:31 +0900] rev 11793
tests: unify test-hook
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 19:10:57 +0900] rev 11792
tests: unify test-flags
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 16:53:23 +0900] rev 11791
repair: do not compress partial bundle if we do not keep it on disk
A partial bundle is created to temporarily save revisions > rev but
not descending from the node to strip, to be able to restore the
changesets after stripping the changelog.
Since this bundle is not kept after the strip operation, and is not
user-visible, it is not necessary and should be faster to avoid
compression.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 16:45:47 +0900] rev 11790
store: skip decodir check if path does not contain '.hg/'
The three replace calls are slower than this simple __contains__,
and anyway we should not have this many paths ending with .i, .d, or .hg
compared to the normal, un-encoded other paths.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 17 Jul 2010 00:47:06 +0900] rev 11789
strip: support multiple revisions
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 16:35:34 +0900] rev 11788
tests: unify test-tag
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 15:41:58 +0900] rev 11787
tests: unify test-verify
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 15:31:18 +0900] rev 11786
tests: unify test-init
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 15:18:44 +0900] rev 11785
tests: unify test-paths
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 15:12:25 +0900] rev 11784
tests: unify test-patch
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 15:07:25 +0900] rev 11783
tests: unify test-status-color
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 14:54:10 +0900] rev 11782
tests: unify test-status
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 12 Aug 2010 14:53:34 +0900] rev 11781
tests: catch re.error if test line is not a valid regular expression
Martin Geisler <mg@aragost.com> [Wed, 11 Aug 2010 12:30:18 +0200] rev 11780
Merge with stable
Martin Geisler <mg@aragost.com> [Wed, 11 Aug 2010 12:29:20 +0200] rev 11779
convert: less shouting in SVN sink warning
Daniel J. Lauk <daniel.lauk@gmail.com> [Wed, 11 Aug 2010 11:46:06 +0200] rev 11778
convert: Using --dest-type svn crashed, if the source repo used tags.
The convert extension requires puttags(self, tags) to return a sequence
for a multi-variable assignment. If puttags implicitly returns None,
the code will break when trying to un-pack None for assignment.
Martin Geisler <mg@aragost.com> [Wed, 11 Aug 2010 12:21:27 +0200] rev 11777
commands: use round parenthesis in 'hg head --active' help
This is the style used in the rest of the help strings.
Martin Geisler <mg@aragost.com> [Wed, 11 Aug 2010 12:19:01 +0200] rev 11776
graphlog: mark --branch as incompatible with --graph
The --only-branch option was deprecated in 0d5f139b23c1 and --branch
was added instead. But the graphlog extension was not updated to match
the change.
Martin Geisler <mg@lazybytes.net> [Thu, 15 Jul 2010 18:10:05 +0200] rev 11775
subrepos: support remapping of .hgsub source paths
Given a .hgsub file containing
lib/libfoo = http://server/libfoo
the 'lib/libfoo' subrepo will be cloned from 'http://server/libfoo'.
This changeset introduces a remapping mechanism whereby the source
paths (the right-hand sides) in the .hgsub file can be remapped. This
subpaths section
[subpaths]
http://server = /local
will result in the 'lib/libfoo' subrepo being cloned from
'/local/libfoo' instead of from 'http://server/libfoo'.
The patterns (left-hand sides) are really regular expressions and the
replacement strings (right-hand sides) can refer to matched groups
using normal backreferences. This can be used for more complicated
replacements such as
[subpaths]
http://server/(.*)-hg/ = http://hg.server/\1/
which replaces 'http://server/foo-hg/' with 'http://hg.server/foo/'.
All patterns are applied in the order by which they are listed in the
config files.
Martin Geisler <mg@aragost.com> [Tue, 10 Aug 2010 16:55:38 +0200] rev 11774
bookmarks: replace var used as a Boolean with a Boolean
Matt Mackall <mpm@selenic.com> [Mon, 09 Aug 2010 16:55:53 -0500] rev 11773
merge with stable
Mads Kiilerich <mads@kiilerich.com> [Mon, 09 Aug 2010 21:43:39 +0200] rev 11772
test-dispatch: Make test of removed working directory work on AIX (issue2315)
AIX sh won't delete its own working directory. Removing it from another process
works.
Also hide the actual OS error message - operating systems returns different
errors when getcwd fails.
Matt Mackall <mpm@selenic.com> [Mon, 09 Aug 2010 12:25:01 -0500] rev 11771
tests: only run check-code on tracked files
Martin Geisler <mg@aragost.com> [Mon, 09 Aug 2010 16:08:33 +0200] rev 11770
Merge with stable
Martin Geisler <mg@aragost.com> [Mon, 09 Aug 2010 15:31:56 +0200] rev 11769
dirstate: ignore symlinks when fs cannot handle them (issue1888)
When the filesystem cannot handle the executable bit, we currently
ignore it completely when looking for modified files. Similarly, it is
impossible to set or clear the bit when the filesystem ignores it.
This patch makes Mercurial treat symbolic links the same way.
Symlinks are a little different since they manifest themselves as
small files containing a filename (the symlink target). On Windows,
these files show up as regular files, and on Linux and Mac they show
up as real symlinks.
Issue1888 presents a case where the symlink files are better ignored
from the Windows side. A Linux client creates symlinks in a working
copy which is shared over a network between Linux and Windows clients.
The Samba server is helpful and defererences the symlink when the
Windows client looks at it. This means that Mercurial on the Windows
side sees file content instead of a file name in the symlink, and
hence flags the link as modified. Ignoring the change would be much
more helpful, similarly to how Mercurial does not report any changes
when executable bits are ignored in a checkout on Windows.
An initial checkout of a symbolic link on a file system that cannot
handle symbolic links will still result in a regular file containing
the target file name as its content. Sharing such a checkout with a
Linux client will not turn the file into a symlink automatically, but
'hg revert' can fix that. After the revert, the Windows client will
see the correct file content (provided by the Samba server when it
follows the link on the Linux side) and otherwise ignore the change.
Running 'hg perfstatus' 10 times gives these results:
Before: After:
min: 0.544703 min: 0.546549
med: 0.547592 med: 0.548881
avg: 0.549146 avg: 0.548549
max: 0.564112 max: 0.551504
The median time is increased about 0.24%.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 08 Aug 2010 23:10:08 +0200] rev 11768
mq/qqueue: enable bash completion
Return the list of available queues when completion is attempted on qqueue.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 08 Aug 2010 22:49:01 +0200] rev 11767
mq/qqueue: --list does not print (active) with --quiet
For scripting purposes, it can be convenient to get a simple listing of
available queues, without indication of the active one.
--quiet documentation change removed by Patrick Mézard.
Patrick Mezard <pmezard@gmail.com> [Sun, 08 Aug 2010 22:29:39 +0200] rev 11766
Merge with stable
Yuya Nishihara <yuya@tcha.org> [Sat, 07 Aug 2010 16:27:16 +0900] rev 11765
templatefilters: make json filter handle multibyte characters correctly
It aims to fix javascript error of hgweb's graph view in Japanese 'cp932'
encoding.
'cp932' contains multibyte characters ending with '\x5c' (backslash),
e.g. '\x94\x5c' for Japanese Kanji 'Noh'.
Due to json filter escapes '\' to '\\', multibyte string ending with
'\x5c' is translated to "xxx\", resulting javascript parse error on
a web browser.
This patch changes json() to pass unicode to jsonescape().
Unicode decoding error handler changed to 'replace' by Patrick Mézard.
Renato Cunha <renatoc@gmail.com> [Sat, 07 Aug 2010 16:13:53 -0300] rev 11764
check-code: added a check for calls to the builtin cmp function
Renato Cunha <renatoc@gmail.com> [Sat, 07 Aug 2010 16:12:51 -0300] rev 11763
manifest: removed usage of the global cmp function
Py3k doesn't have a global cmp() function, making this call problematic in the
py3k port. Also, calling cmp() here is not necessary, since we only want to
know if the two values are equal. A check for equality perfect in this case and
this patch does that.
Patrick Mezard <pmezard@gmail.com> [Sat, 07 Aug 2010 15:38:05 +0200] rev 11762
tests: run check-code.py on working directory files
If we insist on Mercurial sources to pass check-code.py, let automate the
process and make it part of the tests.
Objections?
Alecs King <alecsk@gmail.com> [Sat, 07 Aug 2010 12:55:30 +0800] rev 11761
minor style fix: hgext/rebase.py:157 -- line too long
found by a run of check-code
Yuya Nishihara <yuya@tcha.org> [Sat, 07 Aug 2010 15:32:33 +0900] rev 11760
zsh completions: add qpush --move option
Matt Mackall <mpm@selenic.com> [Fri, 06 Aug 2010 12:59:13 -0500] rev 11759
Merge with stable
Matt Mackall <mpm@selenic.com> [Fri, 06 Aug 2010 12:18:33 -0500] rev 11758
chunkbuffer: use += rather than cStringIO to reduce memory footprint
This significantly refactors the read() loop to use a queue of chunks.
The queue is alternately filled to at least 256k and then emptied by
concatenating onto the output buffer.
For very large read sizes, += uses less memory because it can resize
the target string in place.
Matt Mackall <mpm@selenic.com> [Thu, 05 Aug 2010 16:17:39 -0500] rev 11757
httprepo: decompress stream incrementally to reduce memory usage
Matt Mackall <mpm@selenic.com> [Thu, 05 Aug 2010 16:17:33 -0500] rev 11756
verify: initialize rp variable in case we hit out of memory
Matt Mackall <mpm@selenic.com> [Thu, 05 Aug 2010 16:17:17 -0500] rev 11755
merge: drop reference to file contents after write
This reduces memory usage on large consecutive gets.
Matt Mackall <mpm@selenic.com> [Thu, 05 Aug 2010 16:17:17 -0500] rev 11754
revlog: drop cache after use to save memory footprint
If we reconstruct back to back large versions, we need to drop the cache first to avoid doubling memory usage.
Matt Mackall <mpm@selenic.com> [Thu, 05 Aug 2010 16:17:17 -0500] rev 11753
verify: reduce memory footprint when unpacking files
By never holding a reference to the unpacked string, we avoid holding two
consecutive large files in memory.
Matt Mackall <mpm@selenic.com> [Thu, 05 Aug 2010 16:17:17 -0500] rev 11752
verify: report exceptions that don't have a str() method
Matt Mackall <mpm@selenic.com> [Wed, 04 Aug 2010 13:21:11 -0500] rev 11751
color: fix test-diff-color breakage
Brodie Rao <brodie@bitheap.org> [Tue, 03 Aug 2010 13:02:11 -0400] rev 11750
hgcia/color: remove star imports
This plays nicer with demandimport and allows pyflakes to detect undefined
names.
Renato Cunha <renatoc@gmail.com> [Tue, 03 Aug 2010 13:59:14 -0300] rev 11749
hgfixes: added a fixer that makes bytes to be formatted correctly
This patch implement a fixer that replaces all calls to the '%' when bytes
arguments are used to a call to bytesformatter(), a function that knows how to
format byte strings. As one can't be sure if a formatting call is done when
only variables are used in a '%' call, these calls are also translated. The
bytesformatter, in runtime, makes sure to return the "raw" % operation if
that's what was intended.
Renato Cunha <renatoc@gmail.com> [Tue, 03 Aug 2010 13:52:48 -0300] rev 11748
py3kcompat: added a "compatibility layer" for py3k
This patch adds some ugly constructs. The first of them is bytesformatter, a
function that formats strings like when '%' is called. The main motivation for
this function is py3k's strange behavior:
>>> 'foo %s' % b'bar'
"foo b'bar'"
>>> b'foo %s' % b'bar'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for %: 'bytes' and 'bytes'
>>> b'foo %s' % 'bar'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for %: 'bytes' and 'str'
In other words, if we can't format bytes with bytes, and recall that all
mercurial strings will be converted by a fixer, then things will break badly if
we don't take a similar approach.
The other addition with this patch is that the os.environ dictionary is
monkeypatched to have bytes items. Hopefully this won't be needed in the
future, as python 3.2 might get a os.environb dictionary that holds bytes
items.
Renato Cunha <renatoc@gmail.com> [Tue, 03 Aug 2010 13:41:47 -0300] rev 11747
hgfixes: add a fixer to convert plain strings to bytestrings
This patch implements a 2to3 fixer that converts all plain strings in a python
source file to byte strings syntax. Example:
foo = 'Normal string'
would become
foo = b'Normal string'
The motivation behind this fixer can be found in
http://selenic.com/pipermail/mercurial-devel/2010-June/022363.html or, in other
words: the current hg source assumes that _most_ strings are "meant" to be byte
sequences, so it makes sense to make the convertion implemented by this patch.
As mentioned above, not all mercurial modules want to use strings as bytes,
examples include i18n (which uses unicode), and demandimport (in py3k, module
names are normal strings, thus unicode, and there's no need for a convertion).
Therefore, these modules are blacklisted in the fixer. There are also a few
functions that can take only unicode arguments, thus the convertion shouldn't
be done for those.
Vishakh H <vsh426@gmail.com> [Tue, 03 Aug 2010 19:38:19 +0530] rev 11746
revlog: add shallow header flag
REVLOGSHALLOW header flag to mark revlog as shallow.
The _shallow attribute of the revlog is used to check if the header flag is set.
Vishakh H <vsh426@gmail.com> [Tue, 03 Aug 2010 19:38:19 +0530] rev 11745
revlog: add punched revision flag
index flag to identify a revision as punched, i.e. it contains no data.
REVIDX_PUNCHED_FLAG = 2, is used to mark a revision as punched.
REVIDX_KNOWN_FLAGS is the accumulation of all index flags.
Matt Mackall <mpm@selenic.com> [Tue, 03 Aug 2010 00:10:28 -0500] rev 11744
tests: unify test-tags
Matt Mackall <mpm@selenic.com> [Mon, 02 Aug 2010 23:43:06 -0500] rev 11743
tests: unify test-empty
Matt Mackall <mpm@selenic.com> [Mon, 02 Aug 2010 23:29:14 -0500] rev 11742
tests: unify test-basic
Matt Mackall <mpm@selenic.com> [Mon, 02 Aug 2010 23:27:22 -0500] rev 11741
tests: basic support for unified tests
Matt Mackall <mpm@selenic.com> [Mon, 02 Aug 2010 15:44:54 -0500] rev 11740
tests: move script execution in runner helpers
Matt Mackall <mpm@selenic.com> [Mon, 02 Aug 2010 13:31:43 -0500] rev 11739
Merge with stable
Matt Mackall <mpm@selenic.com> [Mon, 02 Aug 2010 13:30:03 -0500] rev 11738
Added signature for changeset c00f03a4982e
Matt Mackall <mpm@selenic.com> [Mon, 02 Aug 2010 13:30:03 -0500] rev 11737
Added tag 1.6.2 for changeset c00f03a4982e
Wagner Bruna <wbruna@yahoo.com> [Mon, 02 Aug 2010 13:18:32 -0300] rev 11736
i18n-pt_BR: synchronized with 87dcf758309d
Wagner Bruna <wbruna@yahoo.com> [Mon, 02 Aug 2010 13:11:33 -0300] rev 11735
merge with i18n stable
Jens Bäckman <jens.backman@gmail.com> [Sun, 01 Aug 2010 22:43:13 +0200] rev 11734
i18n-sv: synchronized with 56b41b2cc690
Matt Mackall <mpm@selenic.com> [Mon, 02 Aug 2010 10:55:51 -0500] rev 11733
Merge with stable
Brodie Rao <brodie@bitheap.org> [Mon, 02 Aug 2010 10:48:31 -0400] rev 11732
color: call correct superclass method in write_err
Without this fix, any calls to write_err would go to stdout instead of
stderr, and calls during pushbuffer would cause unpack ValueErrors on
popbuffer.
timeless <timeless@gmail.com> [Fri, 30 Jul 2010 10:38:54 +0300] rev 11731
convert/progress: use plural and avoid retrieving
Matt Mackall <mpm@selenic.com> [Sun, 01 Aug 2010 16:02:56 -0500] rev 11730
qfinish: fix range logic for --applied
qbase:qtip can include non-mq csets, use qbase::qtip instead
timeless <timeless@gmail.com> [Tue, 20 Jul 2010 20:53:48 +0200] rev 11729
rebase/progress: Adding progress for rebasing
timeless <timeless@gmail.com> [Thu, 22 Jul 2010 18:47:46 +0300] rev 11728
record: count lines changed as the number of lines added or removed
per "record" hunk
Record deals in hunks which are tighter than traditional patch hunks,
really only a single run of additions/removals. Another addition, even a
line after a fixed line is treated as a new hunk by record.
Brodie Rao <brodie@bitheap.org> [Sun, 01 Aug 2010 16:26:02 -0400] rev 11727
color: pass write/write_err to win32print correctly (issue2312)
Matt Mackall <mpm@selenic.com> [Sun, 01 Aug 2010 13:52:42 -0500] rev 11726
Merge with stable
Matt Mackall <mpm@selenic.com> [Sun, 01 Aug 2010 13:49:43 -0500] rev 11725
Added signature for changeset bf1774d95bde
Matt Mackall <mpm@selenic.com> [Sun, 01 Aug 2010 13:49:42 -0500] rev 11724
Added tag 1.6.1 for changeset bf1774d95bde
Matt Mackall <mpm@selenic.com> [Sun, 01 Aug 2010 08:54:30 -0500] rev 11723
Merge with stable
Wagner Bruna <wbruna@yahoo.com> [Sun, 01 Aug 2010 01:54:31 -0300] rev 11722
i18n-pt_BR: synchronized with db426935fa94
Wagner Bruna <wbruna@yahoo.com> [Sun, 01 Aug 2010 01:51:21 -0300] rev 11721
Merge with stable
Wagner Bruna <wbruna@yahoo.com> [Sun, 01 Aug 2010 01:46:58 -0300] rev 11720
i18n-pt_BR: synchronized with 0e789549271d
Jens Bäckman <jens@titv.se> [Sun, 25 Jul 2010 10:51:05 +0200] rev 11719
i18n-sv: synchronized with c47cb3193c53
Matt Mackall <mpm@selenic.com> [Sat, 31 Jul 2010 18:27:03 -0500] rev 11718
help: fix bytes/digit confusion for hashes
spotted by FUJIWARA Katsunori <fujiwara@ascade.co.jp>
Matt Mackall <mpm@selenic.com> [Sat, 31 Jul 2010 18:12:50 -0500] rev 11717
Merge with stable
timeless <timeless@gmail.com> [Fri, 30 Jul 2010 10:32:24 +0300] rev 11716
progress: use gerund (updating) for merge progress
Gilles Moris <gilles.moris@free.fr> [Sat, 10 Jul 2010 21:23:00 +0200] rev 11715
qpush --move: move the right patch even with comment lines
88fc876a4833 caused that we find the index of the moving patch in self.series
but look it up in self.full_series. The difference between these is that
full_series also contains comment lines, and we thus moved the wrong patch.
Use back self.full_series to find the moving patch, but take care of striping
the patch guard markers before comparing the patch name. Test cases have been
added for comments and empty lines in self.full_series, and for the case of
guarded patches.
Original patch contributed by Mads Kiilerich <mads@kiilerich.com>
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 31 Jul 2010 11:41:58 +0900] rev 11714
merge with stable
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 31 Jul 2010 11:41:42 +0900] rev 11713
perf: break down long line
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 31 Jul 2010 11:36:24 +0900] rev 11712
dispatch: trailing whitespace
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 31 Jul 2010 11:05:11 +0900] rev 11711
merge crew and main
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 31 Jul 2010 11:04:33 +0900] rev 11710
merge crew and main
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 31 Jul 2010 10:50:29 +0900] rev 11709
mq: clarify the fact that qimport is trying to read a file
"hg qimport tip" would throw "abort: unable to read tip" before this.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 30 Jul 2010 10:07:46 +0900] rev 11708
revset: add min function
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 30 Jul 2010 14:41:47 +0900] rev 11707
runrst: try to be more helpful if docutils is not installed
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 29 Jul 2010 17:18:17 +0900] rev 11706
mq: correct qimport documentation
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 29 Jul 2010 12:10:22 +0900] rev 11705
merge with stable
Idan Kamara <idankk86@gmail.com> [Sat, 24 Jul 2010 11:20:21 +0300] rev 11704
bookmarks: don't allow name to contain whitespaces only
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 29 Jul 2010 10:39:59 +0900] rev 11703
context: reuse filecontext.cmp in workingfilecontext.cmp
Same code path should mean less mistakes, and hopefully, better
caching.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 27 Jul 2010 23:40:46 +0900] rev 11702
filectx: use cmp(self, fctx) instead of cmp(self, text)
This allows more flexibility in implementation, and in particular,
lets the context decide if revision text has to be loaded or not.
Patrick Mezard <pmezard@gmail.com> [Wed, 28 Jul 2010 11:07:20 +0200] rev 11701
mq: fix qimport --name --existing --force on win32
os.rename() does not overwrite existing targets on Windows.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 23 Jul 2010 23:43:43 +0900] rev 11700
mq: document possible combination of -e and -n for qimport
Nicolas Dumazet <nicdumz.commits@gmail.com> [Wed, 21 Jul 2010 11:53:09 +0900] rev 11699
mq: support "qimport --existing --name renametothis thatexistingpatch"
Before this change, the command would abort with a not too clear "patch
renametothis does not exist" error.
This change makes:
qimport --existing --name renametothis thatexistingpatch
equivalent to:
qimport --existing thatexistingpatch; qrename thatexistingpatch renametothis
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 24 Jul 2010 00:28:20 +0900] rev 11698
localrepo: refactor filter computation
Separate loading part from access part to be able to tell with:
repo._loadfilter(name)
bool(name in repo.filterpats)
if there is a 'name' filter available.
Matt Mackall <mpm@selenic.com> [Tue, 27 Jul 2010 16:04:00 -0500] rev 11697
Merge with stable
Matt Mackall <mpm@selenic.com> [Tue, 27 Jul 2010 16:03:42 -0500] rev 11696
Merge with crew
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Tue, 27 Jul 2010 14:43:40 +0200] rev 11695
alias: improved diagnostic when arguments include --cwd, etc.
The logic pre-emptively checks for -R, --repo, --repository and --cwd
in order to give the user a more helpful error message. In addition,
each option is handled invididually, which avoids listing them all in
the error.
Before:
% hg --config alias.broken='push --cwd /dev/null' broken
abort: Option --cwd may not be abbreviated!
After:
% hg --config alias.broken='push --cwd /dev/null' broken
error in definition for alias 'broken': --cwd may only be given on the command line
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 27 Jul 2010 20:50:09 +0530] rev 11694
perf: add perfrevlog function to check performance of revlog
Pradeepkumar Gayam <in3xes@gmail.com> [Tue, 27 Jul 2010 01:16:38 +0530] rev 11693
revlog: add a flags method that returns revision flags
Benjamin Pollack <benjamin@bitquabit.com> [Tue, 27 Jul 2010 14:40:25 -0400] rev 11692
tag: do not allow tag names to consist solely of whitespace (issue2307)
(simplification and test by mpm)
Matt Mackall <mpm@selenic.com> [Sun, 25 Jul 2010 21:20:05 -0500] rev 11691
Merge with stable
Mads Kiilerich <mads@kiilerich.com> [Tue, 20 Jul 2010 15:49:28 +0200] rev 11690
convert: warn on superfluous / in paths
shlex is really a bad parser for this line-based format ...
David Soria Parra <dsp@php.net> [Sat, 24 Jul 2010 22:15:22 +0200] rev 11689
inotify: remove unused variable
Matt Mackall <mpm@selenic.com> [Sun, 25 Jul 2010 17:18:35 -0500] rev 11688
convert: handle closed branch heads in hg-hg conversion (issue2185)
Matt Mackall <mpm@selenic.com> [Sun, 25 Jul 2010 17:10:32 -0500] rev 11687
check-code: add warning on lines over 80 characters
Patrick Mezard <pmezard@gmail.com> [Mon, 26 Jul 2010 23:26:15 +0200] rev 11686
debugbuilddag: build repository content in binary mode
Patrick Mezard <pmezard@gmail.com> [Mon, 26 Jul 2010 22:29:49 +0200] rev 11685
cleanup: typos
Patrick Mezard <pmezard@gmail.com> [Mon, 26 Jul 2010 22:29:17 +0200] rev 11684
revsets.txt: minor improvements
Patrick Mezard <pmezard@gmail.com> [Mon, 26 Jul 2010 22:28:37 +0200] rev 11683
dispatch: write Abort hint to stderr too
Patrick Mezard <pmezard@gmail.com> [Mon, 26 Jul 2010 22:26:12 +0200] rev 11682
bookmarks: sort diffbookmarks() output
Matt Mackall <mpm@selenic.com> [Sun, 25 Jul 2010 21:20:05 -0500] rev 11681
Merge with stable
Mads Kiilerich <mads@kiilerich.com> [Tue, 20 Jul 2010 15:49:28 +0200] rev 11680
convert: warn on superfluous / in paths
shlex is really a bad parser for this line-based format ...
David Soria Parra <dsp@php.net> [Sat, 24 Jul 2010 22:15:22 +0200] rev 11679
inotify: remove unused variable
Christian Ebert <blacktrash@gmx.net> [Sun, 25 Jul 2010 20:01:33 -0500] rev 11678
keyword: move collecting of [keyword] patterns to reposetup (issue2303)
When cloning, prevent [keyword] filename patterns configured locally
in the source directory to persist during the update in the destination.
a) move [keyword] retrieval (back) to reposetup
b) remove the corresponding global kwtools attributes
Add test cases.
Mads Kiilerich <mads@kiilerich.com> [Wed, 21 Jul 2010 22:22:28 +0200] rev 11677
hgwebdir: allow pure relative globs in paths
This allows the (to me, in some setups) obvious configuration:
[paths]
/ = *
or
/ = **
Relative paths used to work with [collections] even though it isn't documented.
Perhaps it should be documented?
Brodie Rao <brodie@bitheap.org> [Thu, 22 Jul 2010 15:26:26 -0400] rev 11676
alias: ensure checksignature() is applied directly to the command (issue2286)
Aliased commands that received bad arguments would raise TypeError instead of
SignatureError. This only affected commands that weren't wrapped by extensions.
Using util.checksignature() in cmdalias.__call__() ensures SignatureError is
raised correctly.
Mads Kiilerich <mads@kiilerich.com> [Sat, 24 Jul 2010 00:38:08 +0200] rev 11675
dispatch: give better error message when cwd doesn't exist (issue2293)
Previous behavior wasn't very helpful:
$ hg st foo
abort: No such file or directory
Now we tell more about what failed:
abort: error getting current working directory: No such file or directory
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Thu, 22 Jul 2010 23:18:38 +0900] rev 11674
i18n: safety writing into non-ASCII named files on any shell implementation
some shell implementation (e.g.: dash) can not handle redirection into
non-ASCII UTF-8 named file correctly.
Matt Mackall <mpm@selenic.com> [Sun, 25 Jul 2010 17:18:35 -0500] rev 11673
convert: handle closed branch heads in hg-hg conversion (issue2185)
Matt Mackall <mpm@selenic.com> [Sun, 25 Jul 2010 17:10:32 -0500] rev 11672
check-code: add warning on lines over 80 characters
Lee Cantey <lcantey@gmail.com> [Sun, 25 Jul 2010 08:22:03 -0700] rev 11671
Remove variable output affected by length of TMPDIR.
If the temporary directory is longer than /tmp then it's possible that
the Subject line will get wrapped by the headencode function.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 25 Jul 2010 13:10:57 +0200] rev 11670
chunkbuffer: split big strings directly in chunkbuffer
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 25 Jul 2010 10:05:38 +0900] rev 11669
localrepo.status: move fixup concatenation inside if block for clarity
clean += fixup only makes sense if fixup is not empty; it should
be inside the "if fixup" test.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 24 Jul 2010 17:23:08 +0200] rev 11668
chunkbuffer: targetsize isn't used outside of read()
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 24 Jul 2010 15:21:39 +0200] rev 11667
chunkbuffer: use list instead of cStringIO
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 24 Jul 2010 15:20:29 +0200] rev 11666
chunkbuffer: use for/else to detect end of iteration
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 24 Jul 2010 00:15:29 +0200] rev 11665
changegroup*(): use enumerate when possible
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 24 Jul 2010 00:03:19 +0200] rev 11664
changegroupsubset(): with the fix, prune() is actually useful in the testsuite
Martin Geisler <mg@aragost.com> [Thu, 22 Jul 2010 13:48:34 +0200] rev 11663
test-permissions: echo commands to make output readable
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 23 Jul 2010 00:04:18 +0200] rev 11662
changegroupsubset: simplify knownheads/has_cl_set computation
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 22 Jul 2010 23:54:57 +0200] rev 11661
changegroupsubset(): ancestors() is not inclusive, we need to remove the "heads"
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 22 Jul 2010 23:44:14 +0200] rev 11660
changegroupsubset(): move comment at the right place
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 22 Jul 2010 23:13:03 +0200] rev 11659
changegroupsubset(): refactor the prune() functions
Martin Geisler <mg@lazybytes.net> [Thu, 22 Jul 2010 22:23:54 +0200] rev 11658
Merge with stable
Martin Geisler <mg@lazybytes.net> [Thu, 22 Jul 2010 21:43:45 +0200] rev 11657
help: make helptable a list instead of a tuple
The table should always have been a list so that extensions can append
their own help topics -- hgsubversion would like to do this now.
Jason Harris <jason@jasonfharris.com> [Sat, 03 Jul 2010 08:28:23 +0200] rev 11656
test-command-template: test 'children' template keyword
Jason Harris <jason@jasonfharris.com> [Sat, 03 Jul 2010 05:24:16 +0200] rev 11655
templates: 'children' keyword
The template keyword 'parents' is already present and this just
provides the complimentary template keyword.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 22 Jul 2010 16:51:45 +0200] rev 11654
changegroupsubset(): change variable names, simplify lookup logic
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 22 Jul 2010 16:18:33 +0200] rev 11653
changegroup(): used "linkrev" instead of "revlink"
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 22 Jul 2010 15:32:26 +0200] rev 11652
fix comment
Matt Mackall <mpm@selenic.com> [Thu, 22 Jul 2010 08:24:56 -0500] rev 11651
Merge with stable
Matt Mackall <mpm@selenic.com> [Thu, 22 Jul 2010 08:17:38 -0500] rev 11650
revset: fix ancestor subset handling (issue2298)
Christian Fischer <christian@fi12.de> [Mon, 12 Jul 2010 16:07:58 +0200] rev 11649
hgwebdir: use template paths configured in the hgrc (issue2281)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 22 Jul 2010 14:34:37 +0200] rev 11648
changegroup*(): use set instead of dict
Martin Geisler <mg@aragost.com> [Thu, 22 Jul 2010 10:49:55 +0200] rev 11647
Merge with stable
Brodie Rao <brodie@bitheap.org> [Wed, 21 Jul 2010 17:06:00 -0400] rev 11646
bash/zsh completion: use HGPLAIN when invoking hg (issue2297)
Dan Drake <drake@kaist.edu> [Thu, 22 Jul 2010 14:30:27 +0900] rev 11645
patch: fix extract() docstring, it returns branch as well
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 22 Jul 2010 15:14:22 +0900] rev 11644
merge with stable
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 22 Jul 2010 14:33:50 +0900] rev 11643
doc: remove has_key usage in hgmanpage
Nicolas Dumazet <nicdumz.commits@gmail.com> [Thu, 22 Jul 2010 14:30:29 +0900] rev 11642
gendoc: remove callable usage (check-code)
Nicolas Dumazet <nicdumz.commits@gmail.com> [Wed, 21 Jul 2010 12:41:18 +0900] rev 11641
bookmarks: rewrite _bookmarks method documentation
Mads Kiilerich <mads@kiilerich.com> [Wed, 21 Jul 2010 19:29:57 +0200] rev 11640
init: create target directory recursively
Subrepos with relative paths must often be cloned to locations deep in the
directory structure. This allows clone over ssh (init+push) work.
Mads Kiilerich <mads@kiilerich.com> [Wed, 21 Jul 2010 17:51:37 +0200] rev 11639
doc: make sure we use our own code for generating man pages
docutils would in some situations pick up its own manpage.py instead of
doc/manpage.py. Renaming to hgmanpage.py makes it less ambiguous.
Greg Ward <greg-hg@gerg.ca> [Sun, 18 Jul 2010 21:29:29 -0400] rev 11638
transplant: crash if repo.commit() finds nothing to commit
(makes issue2135, issue2264 more obvious, but does nothing to fix
either one)
This seems to happen in two distinct cases:
* patch.patch() claims success but changes nothing (e.g.
the transplanted changeset adds an empty file that already
exists)
* patch.patch() makes changes, but repo.status() fails to report them
Both of these seem like bugs in other parts of Mercurial, so arguably
it's not transplant's job to detect the failure to commit. However:
* detecting the problem as soon as possible is desirable
* it prevents a more obscure crash later, in transplants.write()
* there might be other lurking (or future) bugs that cause
repo.commit() to do nothing
Also, in the case of issue2264 (source changesets silently dropped by
transplant), the only way to spot the problem currently is the crash
in transplants.write(). Failure to transplant a patch should abort
immediately, whether it's user error (patch does not apply) or a
Mercurial bug (e.g. repo.status() failing to report changes).
Vishakh H <vsh426@gmail.com> [Tue, 20 Jul 2010 20:37:29 +0530] rev 11637
mq: cleanup status if applied mq is stripped (issue1881)
stripping of applied mq patches leads to wrong state recorded in status
file. find all mq patches that will be affected and clean up status file
before strip.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 20 Jul 2010 18:29:00 +0900] rev 11636
bundle: lookup revisions after addbranchrevs
When addbranchrevs extends revs, it adds changeset hashes, and not node ids.
Which means that we have to lookup for revisions _after_ the addbranchrevs
call, instead of before.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 20 Jul 2010 14:42:05 +0900] rev 11635
log: do not redefine cachefunc in walkchangerevs
The same variable is defined a few blocks earlier. The first phases in
walkchangerevs should in fact fill that cache, and allow faster lookups
in the last phase. Redefining and overriding this cached function, (knowing
that it will be called with the same arguments) defeats the caching purpose.
Martin Geisler <mg@aragost.com> [Wed, 21 Jul 2010 09:43:45 +0200] rev 11634
cmdutils: fix code style
Vishakh H <vsh426@gmail.com> [Tue, 20 Jul 2010 23:29:49 +0530] rev 11633
contrib: add debugshell extension
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 20 Jul 2010 14:32:33 +0900] rev 11632
log: document the different phases in walkchangerevs
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 20 Jul 2010 14:13:33 +0900] rev 11631
log: slowpath: only walk specified revision range during preparation
Even with --removed, it does not make sense to examine changesets outside
of the revision range that was specified by the user: the last phase only
yields a subset of (revs), preparation phase hence only has to examine
(revs) to fill correctly fncache.
Matt Mackall <mpm@selenic.com> [Tue, 20 Jul 2010 15:07:10 -0500] rev 11630
Merge with stable
Mads Kiilerich <mads@kiilerich.com> [Tue, 13 Jul 2010 03:04:14 +0200] rev 11629
revert: rename original to .orig instead of copying (issue2282)
By renaming before reverting the content of the file we ensure that we handle
and break hardlinks properly.
Handling of other hardlinks to .orig is somebody elses problem.
Greg Ward <greg-hg@gerg.ca> [Tue, 20 Jul 2010 14:00:47 -0400] rev 11628
inotify: make inotifydirstate.status() returns a tuple of lists.
This makes it consistent with dirstate.status(), which is important if
there are other extensions messing with the output of status(). Those
extensions can safely assume that dirstate.status() returns a tuple of
lists, because its docstring says it does. But
inotifystatus.dirstate() returns a list of lists, which can break
those other extensions.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 20 Jul 2010 20:52:23 +0200] rev 11627
protocol: move the streamclone implementation into wireproto
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 20 Jul 2010 09:56:37 +0200] rev 11626
protocol: use generators instead of req.write() for hgweb stream responses
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 20 Jul 2010 20:53:33 +0200] rev 11625
protocol: wrap non-string protocol responses in classes
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 16 Jul 2010 22:20:19 +0200] rev 11624
protocol: convert StreamException to generated error code
This makes it much easier to handle these errors at the transport level.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 16 Jul 2010 22:20:10 +0200] rev 11623
protocol: extract compression from streaming mechanics
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 16 Jul 2010 18:18:35 +0200] rev 11622
protocol: rename send methods to get grouping by prefix
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 16 Jul 2010 18:16:15 +0200] rev 11621
protocol: shuffle server methods to group send methods
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 16 Jul 2010 23:02:46 +0200] rev 11620
protocol: do not translate error messages on the remote side
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 16 Jul 2010 19:02:30 +0200] rev 11619
protocol: use return shortcut instead of respond function
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 16 Jul 2010 19:01:34 +0200] rev 11618
protocol: command must be checked before passing in
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 20 Jul 2010 10:05:30 +0200] rev 11617
tests: rename some tests to help grouping
Christian Ebert <blacktrash@gmx.net> [Thu, 15 Jul 2010 10:24:31 +0200] rev 11616
keyword: add extra datefilters in a single update call
Martin Geisler <mg@lazybytes.net> [Mon, 19 Jul 2010 00:43:34 +0200] rev 11615
Merge with stable
Martin Geisler <mg@lazybytes.net> [Mon, 19 Jul 2010 00:43:24 +0200] rev 11614
Merge with main
Martin Geisler <mg@lazybytes.net> [Mon, 19 Jul 2010 00:41:41 +0200] rev 11613
cmdutil: fix accidental name clash with revrange function
The revrange function was used further up, and when a local variable
is defined with the same name, the earlier call to revrange becomes a
'local variable used before assignment' error.
The clash was introduced in 890ad9d6a169.
Steve Losh <steve@stevelosh.com> [Wed, 14 Jul 2010 18:28:12 -0400] rev 11612
commands: fix update's help to be more accurate
Branches can have multiple heads, so it doesn't make sense to speak of "the
head of the current branch". What update really does is try to update to the
*tip* of the current branch.
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Sun, 18 Jul 2010 01:06:50 +0900] rev 11611
i18n: use encoding.colwidth() for correct column width
Some encoding and language combinations (e.g.: UTF-8 and Japanese)
cause encoding characters into sequence of bytes more than column
width of them.
So, encoding.colwidth() should be applied instread of len() on i18n
strings.
In addition to it, formatting by '%*s'/'%-*s' also uses "number of
bytes" to calculate space padding size, and should be fixed, too.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 18 Jul 2010 18:11:59 +0900] rev 11610
merge with stable
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 04 Jul 2010 18:07:30 +0900] rev 11609
log: slowpath: do not read the full changelog
When in the slowpath, we are examining _all_ changesets in revs.
We need to order reads so they happen increasingly for I/O performance.
Increasing windows were used to read changelog backwards in a windowed manner,
reading the changelog forward inside each window. But since no revision range
was specified, it was equivalent to reading the full changelog, even if a
single revision was passed to the commandline.
When --removed is used, we _need_ to scan all changesets, but if we're only
looking for file patterns, this is not necessary and we can stick to
the revspec that was given to us.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 03 Jul 2010 18:11:15 +0900] rev 11608
log: remove increasing windows usage in fastpath
The purpose of increasing windows is to allow backwards iteration on the
filelog at a reasonable cost.
But is it needed?
- if follow is False, we have no reason to iterate backwards.
We basically just want to walk the complete filelog and yield all revisions
within the revision range. We can do this forward or
backwards, as it only reads the index.
- when follow is True, we need to examine the contents of the filelog, and to
do this efficiently we need to read the filelog forward.
And on the other hand, to track ancestors and copies, we need to process
revisions backwards. But is it necessary to use increasing windows
for this?
We can iterate over the complete filelog forward, stack the revisions, and
read the reversed(pile), it does the same thing with a more readable code.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 03 Jul 2010 18:01:54 +0900] rev 11607
log: refactor: test for ranges inside filerevgen
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 03 Jul 2010 17:58:48 +0900] rev 11606
log: refactor: compute the value of last outside of filerevgen
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 16 Jul 2010 16:33:55 +0900] rev 11605
context: use os.lstat instead of os.stat to fetch file size
When file is a link, we want the size of the link itself, not the size
of the file it points to.
Matt Mackall <mpm@selenic.com> [Fri, 16 Jul 2010 13:26:39 -0500] rev 11604
check-code: add --blame switch
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 16 Jul 2010 18:35:15 +0200] rev 11603
changegroupsubset: remove unneeded cast to list
Martin Geisler <mg@lazybytes.net> [Fri, 16 Jul 2010 14:48:52 +0200] rev 11602
check-code: catch dict.has_key
Martin Geisler <mg@lazybytes.net> [Fri, 16 Jul 2010 14:45:52 +0200] rev 11601
Merge with stable
Martin Geisler <mg@lazybytes.net> [Fri, 16 Jul 2010 14:44:30 +0200] rev 11600
mark ui.warn strings for translation
Martin Geisler <mg@lazybytes.net> [Fri, 16 Jul 2010 14:40:57 +0200] rev 11599
check-code: warn about untranslated ui.warn calls
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 16 Jul 2010 13:38:33 +0200] rev 11598
localrepo: remove push_{unbundle,addchangegroup}(), factor it inside push()
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Fri, 16 Jul 2010 00:52:13 +0200] rev 11597
wireproto: refactor list of nodeid encoding / decoding
Matt Mackall <mpm@selenic.com> [Thu, 15 Jul 2010 15:06:45 -0500] rev 11596
ssh: drop some old imports
Matt Mackall <mpm@selenic.com> [Thu, 15 Jul 2010 15:05:04 -0500] rev 11595
protocol: move hgweb protocol support back into protocol.py
- introduce iscmd
- simplify error handling
- remove unneeded imports
Matt Mackall <mpm@selenic.com> [Thu, 15 Jul 2010 13:56:52 -0500] rev 11594
protocol: unify server-side capabilities functions
Matt Mackall <mpm@selenic.com> [Thu, 15 Jul 2010 11:24:42 -0500] rev 11593
protocol: unify unbundle on the server side
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 17:12:18 -0500] rev 11592
protocol: unify client unbundle support
- introduce _callpush helper
- factor out differences in result handling into helpers
- unify
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 17:09:31 -0500] rev 11591
protocol: unify client changegroup methods
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 17:07:13 -0500] rev 11590
protocol: convert some ssh abort calls
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 17:07:10 -0500] rev 11589
protocol: clean up call-like functions in http and ssh clients
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 16:55:44 -0500] rev 11588
protocol: unify stream_out client code
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 16:35:51 -0500] rev 11587
protocol: unify basic http client requests
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 16:34:57 -0500] rev 11586
protocol: move basic ssh client commands to wirerepository
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 16:19:27 -0500] rev 11585
protocol: unify stream_out command
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 15:43:20 -0500] rev 11584
protocol: unify changegroup commands
- add sendchangegroup protocol helpers
- handle commands with None results
- move changegroup commands into wireproto.py
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 15:33:21 -0500] rev 11583
protocol: add proto to method prototypes
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 15:25:15 -0500] rev 11582
protocol: use new wireproto infrastructure in ssh
- add protocol helper
- insert wireproto into dispatcher
- drop duplicate functions from hgweb implementation
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 15:25:15 -0500] rev 11581
protocol: introduce wireproto.py
- add a protocol-independent dispatcher
- move most of the basic commands from sshserver to wireproto
- dispatch through wireproto first
Matt Mackall <mpm@selenic.com> [Wed, 14 Jul 2010 15:25:15 -0500] rev 11580
protocol: move most ssh responses to returns
Matt Mackall <mpm@selenic.com> [Mon, 12 Jul 2010 17:28:02 -0500] rev 11579
protocol: add ssh getargs
- introduce getargs
- make getarg a helper function
- update users
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Jul 2010 21:44:51 +0200] rev 11578
discovery: remove duplication for new remote head discovery
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Jul 2010 21:21:19 +0200] rev 11577
discovery: better coding style
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Jul 2010 21:20:32 +0200] rev 11576
discovery: simplify findoutgoing(), the updated_head stuff wasn't used
Brendan Cully <brendan@kublai.com> [Thu, 15 Jul 2010 10:41:41 -0700] rev 11575
mq: evaluate --user before invoking editor with -e (issue2289)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Jul 2010 14:41:22 +0200] rev 11574
Abort: add a hint argument, printed in the next line inside parenthesis
discovery was using a custom made message for this purpose
push now returns -1 after aborting, instead of 1 previously
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Jul 2010 14:40:17 +0200] rev 11573
discovery: clarify comment
Martin Geisler <mg@lazybytes.net> [Thu, 15 Jul 2010 14:11:14 +0200] rev 11572
Merge with stable
Mads Kiilerich <mads@kiilerich.com> [Thu, 15 Jul 2010 13:24:02 +0200] rev 11571
subrepo: docstrings
Martin Geisler <mg@lazybytes.net> [Thu, 15 Jul 2010 14:02:17 +0200] rev 11570
gendoc: remove call to callable for py3k compatibility
Renato Cunha <renatoc@gmail.com> [Wed, 14 Jul 2010 23:15:03 -0300] rev 11569
check-code: added check for reduce usage
Renato Cunha <renatoc@gmail.com> [Wed, 14 Jul 2010 23:15:00 -0300] rev 11568
check-code: check for tuple parameter unpacking (missing in py3k)
Renato Cunha <renatoc@gmail.com> [Wed, 14 Jul 2010 23:03:21 -0300] rev 11567
removed exception args indexing (not supported by py3k)
Py3k removed __getitem__ for exception classes. The correct way of
getting the exception arguments is by using the args method.
Renato Cunha <renatoc@gmail.com> [Wed, 14 Jul 2010 22:59:57 -0300] rev 11566
util: use fakebuffer as buffer in py3k
There's no buffer type in py3k, util.py has a function, called
fakebuffer, that implements a similar API. This patch implements
fakebuffer as a memoryview wrapper in py3k.
Renato Cunha <renatoc@gmail.com> [Wed, 14 Jul 2010 22:59:43 -0300] rev 11565
util: improved the check for the existence of the 'buffer' builtin
2to3 is unable to translate '__builtin__' calls to 'builtins' when
hasattr is used (as in hasattr(__builtin__, buffer)). Translating the
check to the format
try:
whatever
except NameError
# define whatever
__builtin__.whatever = whatever
is a correct way of checking for the name and has the benefit of being
translated by 2to3. This patch implements the same idea for the
aforementioned example.
Renato Cunha <renatoc@gmail.com> [Wed, 14 Jul 2010 22:58:29 -0300] rev 11564
record: removed 'has_key' usage
Py3k has removed the dictionary has_key method. This patch implements
a one argument function that can be used as a callback by hg.revert in
the record extension.
Martin Geisler <mg@lazybytes.net> [Wed, 14 Jul 2010 21:30:50 +0200] rev 11563
Merge with stable
Joel Rosdahl <joel@rosdahl.net> [Thu, 08 Jul 2010 22:44:15 +0200] rev 11562
test-log: Add test for "hg log -pf" (issue647)
To test f786fc4b8764 we analyze this repo:
0 | 1 | 2 | 3 | 4
a ------------> b
\
b -> dir/b -------> e
d
We follow dir/b and expects rev 0, 1 and 2.
A log following b will surprisingly report rev 0 and 1. That's because the
content and the parents are the same in rev 1 and rev 3, and the revlog entry
from rev 1 is thus reused in rev 3 even though the revlink is incorrect.
Note that if we follow e then we will get all revs, including rev 3, because b
gets added to the set of interesting filenames we are following through all
revisions. That might be surprising, but that's (currently) how it is.
Original test case by Joel Rosdahl <joel@rosdahl.net>
Original test reviewed by Nicolas Dumazet <nicdumz@gmail.com>
Brodie Rao <brodie@bitheap.org> [Wed, 14 Jul 2010 11:02:20 -0400] rev 11561
bookmarks: ensure current bookmark is updated when specified with -r .
"hg bookmark -r . foo" should be equivalent to "hg bookmark foo".
Martin Geisler <mg@lazybytes.net> [Wed, 14 Jul 2010 20:25:31 +0200] rev 11560
subrepos: let caller specify a filename for SVN commands
Martin Geisler <mg@lazybytes.net> [Wed, 14 Jul 2010 20:25:31 +0200] rev 11559
subrepo: add abstract superclass for subrepo classes
Martin Geisler <mg@lazybytes.net> [Wed, 14 Jul 2010 20:25:31 +0200] rev 11558
archival: remove prefix argument from archivers
When the archivers work on the full we can reuse the same archiver
with different prefixes (for different subrepositories).
Martin Geisler <mg@lazybytes.net> [Wed, 14 Jul 2010 20:25:31 +0200] rev 11557
archival: move commands.archive.guess_type to archival.guesskind
The list of suffixes for each kind of archive belongs in archival.
Renamed function to fit with out code style.
Henrik Stuart <hg@hstuart.dk> [Wed, 14 Jul 2010 20:41:01 +0200] rev 11556
merge stable to default
Brodie Rao <brodie@bitheap.org> [Thu, 01 Jul 2010 19:23:26 -0500] rev 11555
color/progress: subclass ui instead of using wrapfunction (issue2096)
This resolves the issue of hg cmd --mq not being colorized. This was due
to color wrapping only the instance of ui passed to dispatch._runcommand(),
which isn't the same ui object that mq.mqcommand() receives. After dispatch
calls extensions.loadall(), it makes sure any changes to ui.__class__ in
uisetup are propagated.
progress is updated to wrap ui in the same manner because wrapfunction
doesn't play well when ui.__class__ has been replaced by another extension
(orig will point to the old class method instead of color's).
Henrik Stuart <hg@hstuart.dk> [Wed, 14 Jul 2010 19:44:49 +0200] rev 11554
merge with stable
Henrik Stuart <hg@hstuart.dk> [Wed, 14 Jul 2010 19:44:12 +0200] rev 11553
merge crew and main
Henrik Stuart <hg@hstuart.dk> [Wed, 14 Jul 2010 19:43:31 +0200] rev 11552
merge crew and main
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 13 Jul 2010 17:30:29 +0200] rev 11551
commands: addremove does similarity 100 by default
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 13 Jul 2010 22:56:01 +0900] rev 11550
merge with stable
Renato Cunha <renatoc@gmail.com> [Fri, 02 Jul 2010 16:22:59 -0300] rev 11549
inotify: Port of the C module to py3k.
This patch accomplishes the port of the inotify C module to py3k by #including
mercurial's util.h file, and by defining the necessary boilerplate code
required by py3k through conditional compilation.
Renato Cunha <renatoc@gmail.com> [Fri, 02 Jul 2010 16:21:46 -0300] rev 11548
inotify: Better implementation of the event string representation.
This patch reimplements the event_repr function. It got mostly rewritten to
eliminate the need for conditional compilation of the module when building in
py3k. The trick there (thanks to Antoine Pitrou) is to use the % operator to
let the python interpreter format the string to be returned.
Renato Cunha <renatoc@gmail.com> [Fri, 02 Jul 2010 16:21:42 -0300] rev 11547
inotify: make proper use of Python API to get object size.
In older python versions, it was ok to access an object's type by accessing its
ob_type "member". With python 2.6+, the proper way of accessing it is via
Py_TYPE(object). This patch implements the correct call for the inotify
extension. When under python < 2.6, this macro is defined in mercurial's
util.h.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 13 Jul 2010 22:30:01 +0900] rev 11546
mq: qrepo.add(mq.added) inside save_dirty inside of doing it manually
This should make the MQ API more transparent: callers only have to
call save_dirty, and no mq.added magic or knowledge is required.
Renato Cunha <renatoc@gmail.com> [Tue, 06 Jul 2010 22:22:18 -0300] rev 11545
inotify: check all components of filenames against hgignore (issue884)
With inotify enabled, files that should be ignored could be detected as
untracked by mercurial. This behavior was wrong because inotify's filestatus
implementation only matched filenames against ignore patterns, instead of
checking if other elements of their paths matched them. This patch fixes the
behavior by checking the file paths against the ignore patterns.
A new test has also been added to the main inotify test to prevent any
regressions.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 02 Jul 2010 15:05:21 +0900] rev 11544
hg.clone: fix branch value when passing a repo object (issue2267)
Since 3d6915f5a2bb the branch argument for addbranchrevs should be a tuple:
(hashbranch, branches)
The right empty value therefore is (None, []) instead of None.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 06 Jul 2010 15:05:03 +0900] rev 11543
test-bheads: use a case-insensitive set of filenames (issue2274)
This prevents false negatives on case-insensitive systems.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 06 Jul 2010 18:24:04 +0900] rev 11542
mail: ensure that Python2.4 to 2.7 use the same header format
Wrapping format for long headers changed in Python2.7 (see Python issue1974).
Adopt the Python2.7 behaviour and backport it for 2.4-2.6
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 05 Jul 2010 19:49:54 +0900] rev 11541
filelog: cmp: don't read data if hashes are identical (issue2273)
filelog.renamed() is an expensive call as it reads the filelog if p1 == nullid.
It's more efficient to first compute the hash, and to bail early if
the computed hash is the same as the stored nodeid.
'samehashes' variable is not strictly necessary, but helps for comprehension.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 05 Jul 2010 18:43:46 +0900] rev 11540
filelog: test behaviour for data starting with "\1\n"
Because "\1\n" is a separator for metadata, data starting with "\1\n" is
handled specifically. It was not tested.
size() call return incorrect data if original data had been "\1\n-escaped".
There's no obvious way to fix it for now, just flag the error in the code
and add an "expected failure" kind of test.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 09 Jul 2010 11:02:39 +0900] rev 11539
cmp: document the fact that we return True if content is different
This is similar to the __builtin__.cmp behaviour, but still not
straightforward, as the dailylife meaning of a comparison usually is
"find out if they are different".
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 09 Jul 2010 11:59:48 +0900] rev 11538
workingfilectx.cmp: invert boolean return value
Apparently we mostly used filectx.cmp(workingfilectx.read()), so no error
was ever triggered, but since all cmp() methods return True when content
are different, that == should in fact be !=
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 12 Jul 2010 19:04:07 +0900] rev 11537
rebase: small cosmetic cleanups
Giorgos Keramidas <keramida@ceid.upatras.gr> [Mon, 12 Jul 2010 09:19:28 +0300] rev 11536
rebase: add a test for committed MQ patches (59bd20451ab6)
Renato Cunha <renatoc@gmail.com> [Fri, 02 Jul 2010 16:21:40 -0300] rev 11535
util.h: Defined macros for working "with" PyStrings in py3k.
PyString* functions are defined as PyUnicode* to permit correct compilation in
both python 2.x and 3.x.
Renato Cunha <renatoc@gmail.com> [Fri, 02 Jul 2010 16:21:38 -0300] rev 11534
util.h: Add a PyInt_AsLong definition for usage in the inotify module.
Renato Cunha <renatoc@gmail.com> [Fri, 02 Jul 2010 16:21:36 -0300] rev 11533
setup.py: Add 'mercurial' as include dir for the inotify compiler.
This patch adds access to util.h for the inotify C module by adding the
"mercurial" directory as an include dir, enabling access to the macros defined
in util.h.
Renato Cunha <renatoc@gmail.com> [Fri, 02 Jul 2010 16:21:34 -0300] rev 11532
setup.py: Adjustments to make setup.py run in py3k.
In py3k, subprocess.Popen.communicate's output are bytes objects. String
literals are Unicode objects. Thus, when a bytes object startswith method is
called, with string literals, it fails. What this patch does is:
* Convert the string (unicode in py3k) literals to bytes objects;
* As "bytes" is not a builtin in python < 2.6, it defines a "b" helper
function that merely returns its argument, as suggested by Antoine Pitrou.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Tue, 13 Jul 2010 20:12:32 +0900] rev 11531
rebase: re-add patches to mq repo after rebase
Since 1b82a26635d7, we are adding patches after the qimport call, and not
inside it anymore. Correct updatemq to match the new behaviour.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 12 Jul 2010 17:55:23 +0900] rev 11530
mq: reset self.added after the mq transaction instead of inside qimport
It seems wiser to reset mq.added at the end of the mq transaction instead of at
the beginning of a qimport call: this way, calling several times qimport()
without saving mq state in-between does not overwrite the previous value of
mq.added (this happens, for example in rebase, where we import several patches
in a batch before calling .save_dirty() )
Matt Mackall <mpm@selenic.com> [Mon, 12 Jul 2010 17:27:32 -0500] rev 11529
Merge with stable
Wagner Bruna <wbruna@yahoo.com> [Sat, 10 Jul 2010 14:28:38 -0300] rev 11528
i18n-pt_BR: synchronized with dec57aa0f8ca
Wagner Bruna <wbruna@yahoo.com> [Sat, 10 Jul 2010 14:01:10 -0300] rev 11527
merge with stable
Wagner Bruna <wbruna@softwareexpress.com.br> [Thu, 08 Jul 2010 15:36:14 -0300] rev 11526
i18n-pt_BR: synchronized with 9d905b9769af
Martin Geisler <mg@aragost.com> [Fri, 09 Jul 2010 14:21:45 +0200] rev 11525
Merge with stable
Steve Losh <steve@stevelosh.com> [Wed, 07 Jul 2010 18:49:43 -0400] rev 11524
dispatch: add shell aliases
This patch adds git-style "shell aliases" to Mercurial.
Any alias with a definition beginning with a '!' will be treated as a shell
alias. For example:
[alias]
echo = !echo
qempty = !hg qrefresh -X "`hg root`" ; echo Emptied patch "`hg qtop`"
$ hg echo foo
foo
$ hg qempty
Emptied patch foo
$
Mads Kiilerich <mads@kiilerich.com> [Thu, 08 Jul 2010 15:44:14 +0200] rev 11523
convert: cleanup of filemap help text
Clarify that:
- Specified paths are matched by comparing name of file or directory.
- Line order (thus) doesn't matter.
- Rename doesn't imply include.
Martin Geisler <mg@aragost.com> [Fri, 09 Jul 2010 14:01:55 +0200] rev 11522
check-code: add test for callable
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Fri, 09 Jul 2010 11:04:00 +0200] rev 11521
extensions: add a few assertions to wrapfunction() and wrapcommand().
Specifically, assert that the given wrapper is callable in both
functions, and assert that the original was also callable in
wrapfunction().
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Fri, 09 Jul 2010 11:13:45 +0200] rev 11520
extensions: improve language for wrapfunction() docstring.
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Fri, 09 Jul 2010 10:57:57 +0200] rev 11519
extensions: add docstring for wrapcommand().
Arnab Bose <hirak99@gmail.com> [Fri, 09 Jul 2010 13:31:37 +0200] rev 11518
commands: mention "hg status -C" in addremove help
Martin Geisler <mg@aragost.com> [Wed, 07 Jul 2010 14:29:40 +0200] rev 11517
Merge with stable
Martin Geisler <mg@aragost.com> [Wed, 07 Jul 2010 14:13:23 +0200] rev 11516
test-merge-closedheads: test cc982ff2dcf8
Robert Bauck Hamar <r.b.hamar@usit.uio.no> [Wed, 07 Jul 2010 14:11:59 +0200] rev 11515
commands: only warn when reopening the workdir's branch
When commiting, a check is made to see if one of the parents is a
closed head. However this did not check that the branch of the commit
is the same as the closed head, so one could get a warning message on
the sequence
hg commit --close-branch
hg branch new-branch
hg commit
or when merging in a closed head.
Martin Geisler <mg@lazybytes.net> [Tue, 06 Jul 2010 20:43:19 +0200] rev 11514
Merge with stable
Yuya Nishihara <yuya@tcha.org> [Sun, 28 Mar 2010 15:23:11 +0900] rev 11513
mq: fixed ENOENT when qrename to new/directory.patch
MQ patch name can contain slashes, e.g. 'foo/bar.patch'.
Currently "qnew foo/bar.patch" works, but
"qrename foo/bar.patch new/dir.patch" fails with
"No such file or directory".
Also added test case for "qnew foo/bar.patch"
Julian Cowley <julian@lava.net> [Fri, 02 Jul 2010 14:14:30 -1000] rev 11512
mercurial.spec: rename docutils to python-docutils in BuildRequires
Even though the name of the project is Docutils, most packagers use
the package name python-docutils to fit into the naming scheme of
other packages written in Python. The name is used by Fedora, EPEL,
DAG, Mandriva, and a few other distributions.
Renato Cunha <renatoc@gmail.com> [Tue, 06 Jul 2010 13:10:16 -0300] rev 11511
glossary: fixed typo in "Directory, working" description
The term "Directory, working" referenced a non-existant term named "Parents,
working directory". This patch fixes the typo.
Martin Geisler <mg@lazybytes.net> [Sun, 04 Jul 2010 14:14:40 +0200] rev 11510
Merge with stable
Martin Geisler <mg@lazybytes.net> [Sun, 04 Jul 2010 14:14:29 +0200] rev 11509
test-log: also test "log -p -R" case
Yuya Nishihara <yuya@tcha.org> [Fri, 02 Jul 2010 23:49:06 +0900] rev 11508
log: fix missing diff output for hg log -p in sub directory
prep(ctx, fns) receives paths relative to repository root, not cwd.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 04 Jul 2010 17:05:17 +0900] rev 11507
commands: document return values of add and paths commands
Martin Geisler <mg@lazybytes.net> [Sat, 03 Jul 2010 02:15:25 +0200] rev 11506
mergetools.hgrc: add vimdiff
Imported from deb_specific__mergetools patch in Debians patch queue:
http://svn.debian.org/viewsvn/python-apps/packages/mercurial/trunk/debian/patches/
Martin Geisler <mg@lazybytes.net> [Sat, 03 Jul 2010 02:06:07 +0200] rev 11505
Merge with stable
Martin Geisler <mg@lazybytes.net> [Sat, 03 Jul 2010 01:56:09 +0200] rev 11504
zeroconf: small fixes in docstring
Use reST role for consistency, import small part of Debian's
proposed_upstream__correct-zeroconf-doc patch from
http://svn.debian.org/viewsvn/python-apps/packages/mercurial/trunk/debian/patches/
Martin Geisler <mg@lazybytes.net> [Sat, 03 Jul 2010 02:03:55 +0200] rev 11503
hgweb: add link to wiki
Martin Geisler <mg@lazybytes.net> [Sat, 03 Jul 2010 01:48:50 +0200] rev 11502
hgweb.wsgi: add a URL to the corresponding wiki documentation
Imported for_upstream__add_doc_url_in_example_files.patch from
Debian's patch queue:
http://svn.debian.org/viewsvn/python-apps/packages/mercurial/trunk/debian/patches/
Renato Cunha <renatoc@gmail.com> [Thu, 01 Jul 2010 19:27:03 -0300] rev 11501
churn: remove tuple parameter unpacking (deprecated in py3k)
Renato Cunha <renatoc@gmail.com> [Thu, 01 Jul 2010 19:27:03 -0300] rev 11500
record: removed 'reduce' calls (unsupported by py3k)
Quoting python's documentation, "Note that sum(range(n), m) is
equivalent to reduce(operator.add, range(n), m)". The "sum" function
is a builtin from 2.3 on and there's no reason for not to use it.
Renato Cunha <renatoc@gmail.com> [Thu, 01 Jul 2010 19:27:03 -0300] rev 11499
record: tuple parameter unpacking is deprecated in py3k
Renato Cunha <renatoc@gmail.com> [Thu, 01 Jul 2010 19:27:02 -0300] rev 11498
convert: tuple parameter unpacking is deprecated in py3k
Renato Cunha <renatoc@gmail.com> [Thu, 01 Jul 2010 19:27:02 -0300] rev 11497
revlog: Marked classic int divisions as such.
Martin Geisler <mg@aragost.com> [Fri, 02 Jul 2010 11:41:43 +0200] rev 11496
Merge with stable (again)
Mads Kiilerich <mads@kiilerich.com> [Wed, 30 Jun 2010 17:23:16 +0200] rev 11495
debugger: give a little intro before entering pdb
Mads Kiilerich <mads@kiilerich.com> [Wed, 30 Jun 2010 17:20:42 +0200] rev 11494
debugger: show traceback before entering pdb post-mortem
Martin Geisler <mg@aragost.com> [Fri, 02 Jul 2010 11:30:57 +0200] rev 11493
Merge with stable
Steve Borho <steve@borho.org> [Thu, 01 Jul 2010 19:13:23 -0500] rev 11492
wix: generate a new GUID for the help folder
A GUID change is recommended after changes like 159233cc9c14
Steve Borho <steve@borho.org> [Thu, 01 Jul 2010 12:53:37 -0500] rev 11491
wix: pick up new help topics added between 1.5 and 1.6
These files are not included the 1.6.0 installer, but will be picked up by
nightly builds as soon as this makes it to the stable branch.
Matt Mackall <mpm@selenic.com> [Thu, 01 Jul 2010 12:06:31 -0500] rev 11490
Added signature for changeset f786fc4b8764
Matt Mackall <mpm@selenic.com> [Thu, 01 Jul 2010 12:06:30 -0500] rev 11489
Added tag 1.6 for changeset f786fc4b8764
Mads Kiilerich <mads@kiilerich.com> [Tue, 29 Jun 2010 12:12:34 +0200] rev 11488
log: follow filenames through renames (issue647)
In commands.log a displayer was initialized from
cmdutil.show_changeset() with the initial matchfn (which designates
the specified files which only is correct in the highest revision in
the range). prep() is handed the correct list of files, but
displayer.show() didn't use that list but keept using the original
matchfn.
The matchfn argument to cmdutil.show_changeset() wasn't specified in
other places and is only used in .show(), so now we give the matchfn
as an optional parameter to .show().
We do however still have to detect --patch and --stat from opts in
show_changeset() and let it imply a matchall, but that can now be
overruled with the new .show() matchfn parameter.
Wagner Bruna <wbruna@softwareexpress.com.br> [Thu, 01 Jul 2010 13:26:08 -0300] rev 11487
i18n-pt_BR: synchronized with d3c3e2fdeb0c
Matt Mackall <mpm@selenic.com> [Thu, 01 Jul 2010 11:22:56 -0500] rev 11486
commit: add missing _()
Matt Mackall <mpm@selenic.com> [Thu, 01 Jul 2010 11:20:13 -0500] rev 11485
subrepo: refuse to commit subrepos if .hgsub is excluded (issue2232)
Matt Mackall <mpm@selenic.com> [Thu, 01 Jul 2010 11:20:08 -0500] rev 11484
Merge with i18n
Martin Geisler <mg@aragost.com> [Thu, 01 Jul 2010 15:25:29 +0200] rev 11483
i18n-da: translated eol extension and various small strings
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Wed, 30 Jun 2010 13:03:48 +0900] rev 11482
i18n-ja: synchronized with 13d02d6677f2
Wagner Bruna <wbruna@softwareexpress.com.br> [Tue, 29 Jun 2010 12:27:08 -0300] rev 11481
i18n-pt_BR: synchronized with 59af1d65029c
Wagner Bruna <wbruna@softwareexpress.com.br> [Tue, 29 Jun 2010 12:18:42 -0300] rev 11480
merge with stable
Jens Bäckman <jens.backman@gmail.com> [Tue, 29 Jun 2010 09:11:55 +0200] rev 11479
i18n-sv: synchronized with 13d02d6677f2
Wagner Bruna <wbruna@yahoo.com> [Sat, 26 Jun 2010 21:37:10 -0300] rev 11478
i18n-pt_BR: synchronized with 9fa255c32406
Wagner Bruna <wbruna@yahoo.com> [Sat, 26 Jun 2010 21:29:39 -0300] rev 11477
Merge with stable
Wagner Bruna <wbruna@softwareexpress.com.br> [Wed, 23 Jun 2010 17:54:59 -0300] rev 11476
i18n-pt_BR: glossary.txt translation
Jens Bäckman <jens.backman@gmail.com> [Wed, 23 Jun 2010 09:33:28 +0200] rev 11475
i18n-sv: output from 'hg' is once again fully Swedish
Jens Bäckman <jens.backman@gmail.com> [Wed, 23 Jun 2010 09:10:54 +0200] rev 11474
i18n-sv: synchronized with 469a48dff18b
Wagner Bruna <wbruna@softwareexpress.com.br> [Tue, 22 Jun 2010 21:13:18 -0300] rev 11473
i18n-pt_BR: synchronized with 2186124f08e4
Wagner Bruna <wbruna@softwareexpress.com.br> [Tue, 22 Jun 2010 20:48:48 -0300] rev 11472
Merge with stable
Jens Bäckman <jens.backman@gmail.com> [Tue, 22 Jun 2010 09:43:07 +0200] rev 11471
i18n-sv: synchronized with 4d03c3680400
Matt Mackall <mpm@selenic.com> [Wed, 30 Jun 2010 23:56:35 -0500] rev 11470
subrepo: correctly handle update -C with modified subrepos (issue2022)
(based on a patch by Saint Germain)
Maxim Khitrov <mkhitrov@gmail.com> [Wed, 30 Jun 2010 18:15:23 -0500] rev 11469
http: deliver hook output to client
Christian Boos <cboos@neuf.fr> [Wed, 23 Jun 2010 13:44:07 +0200] rev 11468
setup: ignore failures to build optional inotify extension
Matt Mackall <mpm@selenic.com> [Wed, 30 Jun 2010 17:44:36 -0500] rev 11467
revset: make negate work for sort specs
Matt Mackall <mpm@selenic.com> [Wed, 30 Jun 2010 17:34:20 -0500] rev 11466
update: synchronize permissions in the dirstate (issue1473)
fix by Benoit, updated by mpm to not affect all clean files
Simon Howkins <simonh@symbian.org> [Thu, 24 Jun 2010 15:18:47 +0100] rev 11465
heads: fix templating of headers again (issue2130)
(tweaks and test by mpm)
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Wed, 30 Jun 2010 12:44:58 +0900] rev 11464
minirst: use unicode string as intermediate form for replacement
Some character encodings use ASCII characters other than
control/alphabet/digit as a part of multi-bytes characters, so direct
replacing with such characters on strings in local encoding causes
invalid byte sequences.
Matt Mackall <mpm@selenic.com> [Tue, 29 Jun 2010 17:30:42 -0500] rev 11463
subrepo: fix recording of + in .hgsubstate (issue2217)
Vishakh H <vsh426@gmail.com> [Tue, 29 Jun 2010 03:09:42 +0530] rev 11462
mq: qimport cleanup on fail (issue2214)
save state of successfully added patches and ensure
cleanup on the way out.
Mads Kiilerich <mads@kiilerich.com> [Mon, 28 Jun 2010 23:23:55 +0200] rev 11461
test-acl: don't use $PWD
solaris ....
Mads Kiilerich <mads@kiilerich.com> [Mon, 28 Jun 2010 23:16:11 +0200] rev 11460
test-alias: don't use the environment variable PWD
solaris ...
Mads Kiilerich <mads@kiilerich.com> [Mon, 28 Jun 2010 15:08:01 +0200] rev 11459
revert: Make it clearer when not to use revert
Augie Fackler <durin42@gmail.com> [Sun, 27 Jun 2010 22:20:47 -0500] rev 11458
progress: check stderr.isatty() before each print
This prevents writing progress information to a non-tty stderr if one is
swapped in after startup, which happens in `hg serve`.
Mads Kiilerich <mads@kiilerich.com> [Sat, 26 Jun 2010 23:00:58 +0200] rev 11457
http digest auth: reset redirect counter on new requests (issue2255)
This fixes a regression introduced in a1e575b48563 when Mercurial reuses the
auth handler for several requests and the redirect counter never is reset.
Matt Mackall <mpm@selenic.com> [Mon, 28 Jun 2010 11:07:27 -0500] rev 11456
revset: deal with empty sets in range endpoints
(spotted by Julian Cowley <julian@lava.net>)
Matt Mackall <mpm@selenic.com> [Sun, 27 Jun 2010 18:20:49 -0500] rev 11455
subrepo: fix silent push failure for SVN (issue2241)
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Fri, 18 Jun 2010 08:49:24 +0200] rev 11454
merge: pass constant cset ancestor to fctx.ancestor
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Fri, 18 Jun 2010 08:48:05 +0200] rev 11453
context: allow passing the common cset ancestor to fctx.ancestor
This is used by the next patch to speed up merge.applyupdates.
Matt Mackall <mpm@selenic.com> [Sun, 27 Jun 2010 17:41:43 -0500] rev 11452
merge: document how to 'undo' a merge
Martin Geisler <mg@lazybytes.net> [Sun, 27 Jun 2010 23:12:05 +0200] rev 11451
resolve: do not crash on empty mergestate
I managed to get an empty .hg/merge/state file by interrupting a merge
by pressing Control-C. This lead to this error:
TypeError: a2b_hex() argument 1 must be string or read-only buffer,
not None
since localnode is assigned None before the iteration over lines in
the mergestate begins.
Julian Cowley <julian@lava.net> [Wed, 23 Jun 2010 16:54:12 -1000] rev 11450
revset: fix spelling typo
Julian Cowley <julian@lava.net> [Fri, 11 Jun 2010 01:35:38 -1000] rev 11449
parser: fix URL to effbot
Eric Eisner <ede@mit.edu> [Thu, 24 Jun 2010 21:35:52 -0700] rev 11448
glog: fix crash on empty revision range
Mads Kiilerich <mads@kiilerich.com> [Fri, 25 Jun 2010 19:59:22 +0200] rev 11447
mercurial.spec: don't include convert-repo - use "hg convert" instead