Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 06:05:09 +0530] rev 11983
tests: unify test-merge10
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 06:02:08 +0530] rev 11982
tests: unify test-merge9
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 05:55:56 +0530] rev 11981
tests: unify test-merge8
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 05:54:00 +0530] rev 11980
tests: unify test-merge7
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 05:21:07 +0530] rev 11979
tests: unify test-merge6
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 05:15:49 +0530] rev 11978
tests: unify test-merge5
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 05:12:44 +0530] rev 11977
tests: unify test-merge4
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 05:09:58 +0530] rev 11976
tests: unify test-merge2
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 05:05:51 +0530] rev 11975
tests: unify test-merge1
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 04:37:06 +0530] rev 11974
tests: unify test-excessive-merge
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 04:30:27 +0530] rev 11973
tests: unify test-double-merge
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 04:26:20 +0530] rev 11972
tests: unify test-copy-move-merge
Pradeepkumar Gayam <in3xes@gmail.com> [Wed, 18 Aug 2010 04:21:10 +0530] rev 11971
tests: unify test-merge-closedheads
Matt Mackall <mpm@selenic.com> [Thu, 19 Aug 2010 10:25:41 -0500] rev 11970
merge with stable
Jeremy Whitlock <jcscoobyrs@gmail.com> [Wed, 28 Jul 2010 23:05:03 -0600] rev 11969
color: enable branches support
This commit updates the branches command to use ui.label for the branch names
and the changeset. This implementation allows assigning colors to the four
states of a branch: active, closed, current and inactive. While you can
configure color for the four states, only current and closed have default colors
of green and black bold respectively.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 18 Aug 2010 23:37:26 +0200] rev 11968
mq/qqueue: update bash completion
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 18 Aug 2010 23:37:19 +0200] rev 11967
mq/qqueue: add --purge option to delete a queue and its patch dir
qqueue --delete only deletes the reference to the queue, and leaves
the associated patch directory behind. There is no Mercurial-way of
getting rid of that patch directory afterward.
This patch adds the --purge option to qqueue, that deletes the queue
from the list, and also removes the associated patch dir. If the queue
was non-existant, but the patch dir was, it is removed nonetheless.
This is to avoid manual intervention in the .hg directory.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 18 Aug 2010 23:34:28 +0200] rev 11966
mq/qqueue: commonalise the queue deletion code
Mads Kiilerich <mads@kiilerich.com> [Wed, 18 Aug 2010 02:43:45 +0200] rev 11965
mq: don't inherit default and default-push paths with --mq (
issue2333)
Configuration from the outer repo is inherited to the patches repo when --mq is
used.
In case the patches repo only has paths.default configured but the outer repo
has paths.default-push then the inherited default-push will win. Very
confusing.
Inheriting the default paths is however wrong in all sane cases, so now we
explicitly remove them.
Martin Geisler <mg@lazybytes.net> [Thu, 19 Aug 2010 16:34:12 +0200] rev 11964
test-subrepo-paths: use printf instead of echo
Different shells have different opinions on how to backslashes must be
escaped for echo, but printf is consistent across zsh, dash, bash,
tcsh, and csh.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 18 Aug 2010 19:37:23 +0200] rev 11963
parendelta: fix computation of base rev (fixes
issue2337)
Refactor revlog._addrevision() and put the correct base rev in the
parent-delta case: base(rev) should always be equal to the first full snapshot
that is needed by the delta chain, in both parent-delta and tip-delta case.
Before this fix, the base rev was in most case wrong (and in the case where
p1 == nullid, this triggered the bug from
issue2337). This means that
repositories converted to parent-delta earlier are corrupted and needs to be
reconverted.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Wed, 18 Aug 2010 19:45:52 +0200] rev 11962
revlog._addrevision(): make the parent of the cached delta explicit
Martin Geisler <mg@lazybytes.net> [Thu, 19 Aug 2010 13:25:46 +0200] rev 11961
subrepos: handle backslashes in subpaths
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 19 Aug 2010 10:59:37 +0200] rev 11960
help: document stringify templatefilter
Martin Geisler <mg@lazybytes.net> [Wed, 18 Aug 2010 11:59:35 +0200] rev 11959
test-subrepo-paths: moved comment lines to where they belong
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