Commit Graph

11925 Commits

Author SHA1 Message Date
Pradeepkumar Gayam
7f986f9b54 tests: unify test-merge7 2010-08-18 05:54:00 +05:30
Pradeepkumar Gayam
e412644de2 tests: unify test-merge6 2010-08-18 05:21:07 +05:30
Pradeepkumar Gayam
fa663e4e0e tests: unify test-merge5 2010-08-18 05:15:49 +05:30
Pradeepkumar Gayam
df091a14a5 tests: unify test-merge4 2010-08-18 05:12:44 +05:30
Pradeepkumar Gayam
030faa8bc9 tests: unify test-merge2 2010-08-18 05:09:58 +05:30
Pradeepkumar Gayam
5dff28e667 tests: unify test-merge1 2010-08-18 05:05:51 +05:30
Pradeepkumar Gayam
2840623b78 tests: unify test-excessive-merge 2010-08-18 04:37:06 +05:30
Pradeepkumar Gayam
eec29150ab tests: unify test-double-merge 2010-08-18 04:30:27 +05:30
Pradeepkumar Gayam
a8b5e99b7e tests: unify test-copy-move-merge 2010-08-18 04:26:20 +05:30
Pradeepkumar Gayam
fa4a583db8 tests: unify test-merge-closedheads 2010-08-18 04:21:10 +05:30
Matt Mackall
eef168b604 merge with stable 2010-08-19 10:25:41 -05:00
Mads Kiilerich
b27d1fd3b8 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.
2010-08-18 02:43:45 +02:00
Dirkjan Ochtman
285c18754a help: document stringify templatefilter 2010-08-19 10:59:37 +02:00
Matt Mackall
6f470d1e51 merge with i18n 2010-08-17 17:40:53 -05:00
Wagner Bruna
4617552400 i18n-pt_BR: fix typo in commit help text
spotted by Fred Maranhão
2010-08-17 12:02:34 -03:00
Wagner Bruna
1047459b00 i18n-pt_BR: synchronized with a3d9ffe07430 2010-08-16 16:06:10 -03:00
Wagner Bruna
a1d5e54dfc i18n-pt_BR: fix typo 2010-08-16 15:46:00 -03:00
Dan Villiom Podlaski Christiansen
d64d4dc9f0 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.
2010-08-14 01:30:54 +02:00
Patrick Mezard
cfb0a4943f templatefilters: unnest uescape() 2010-08-15 17:50:52 +02:00
Alecs King
057134ed97 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
2010-08-13 14:29:30 +08:00
Martin Geisler
5f4b538b5a glossary: fixed typo 2010-08-17 17:33:42 +02:00
Martin Geisler
f39e256b0e glossary: add entry for "Branch, inactive" 2010-08-17 13:59:37 +02:00
Yuya Nishihara
f6cfbe6d14 templatefilters: use \uxxxx style escape for JSON string
It's embeddable in plain javascript, and also conforms to JSON standard.
2010-08-11 01:06:21 +09:00
Dan Villiom Podlaski Christiansen
8933f2e981 test-notify: make it pass on Mac OS X (again)
Changeset 372e3cb2c9bf (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 025d0ea4305a 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.
2010-08-13 17:21:06 +02:00
Martin Geisler
17737f37b7 dagparser: transplant part of aac98bf716a5 2010-08-15 17:49:59 +02:00
Martin Geisler
888421d8ca check-code: catch "echo -n" in tests 2010-08-15 17:48:05 +02:00
Wagner Bruna
a056b85166 revset: fix outgoing argument handling 2010-08-12 20:54:34 -03:00
Martin Geisler
90ff407862 debugbuilddag: escape backslash properly in help string 2010-08-15 17:33:03 +02:00
Greg Ward
b38d220736 commit: explicitly document the existence of "last-message.txt" 2010-08-14 14:57:33 +02:00
Mads Kiilerich
e26e44a190 mercurial.spec: gettext is a build requirement for getting proper localization 2010-08-14 01:31:57 +02:00
Wagner Bruna
4da44ca3ac 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 3405cb92c120 fix
accordingly.
2010-08-13 13:32:05 -03:00
Benoit Boissinot
21c145b776 rebase: recompute the set of skipped rev when using --continue (issue2330) 2010-08-13 18:02:02 +02:00
Jeremy Whitlock
0a6d3a397f 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.
2010-07-28 23:05:03 -06:00
Yann E. MORIN
f3a35cc478 mq/qqueue: update bash completion 2010-08-18 23:37:26 +02:00
Yann E. MORIN
87f9cf5483 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.
2010-08-18 23:37:19 +02:00
Yann E. MORIN
dac7d3c59b mq/qqueue: commonalise the queue deletion code 2010-08-18 23:34:28 +02:00
Martin Geisler
ef593ac2ea 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.
2010-08-19 16:34:12 +02:00
Benoit Boissinot
35b0c5591f 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.
2010-08-18 19:37:23 +02:00
Benoit Boissinot
cbd0c9fbc1 revlog._addrevision(): make the parent of the cached delta explicit 2010-08-18 19:45:52 +02:00
Martin Geisler
9c87025d80 subrepos: handle backslashes in subpaths 2010-08-19 13:25:46 +02:00
Martin Geisler
e46d654194 test-subrepo-paths: moved comment lines to where they belong 2010-08-18 11:59:35 +02:00
Matt Mackall
76a1c7b90d merge with stable 2010-08-17 17:44:19 -05:00
Matt Mackall
f1a0122234 merge with i18n 2010-08-17 17:41:20 -05:00
Wagner Bruna
1aa6c31932 i18n: merge with stable 2010-08-16 16:10:30 -03:00
Martin Geisler
2cf88fa934 i18n-da: synchronized with 0d4e55fe78b5 2010-08-15 18:58:22 +02:00
Matt Mackall
602d344ffb tests: drop big sed from test-keyword.t 2010-08-15 13:26:12 -05:00
Christian Ebert
90ee79b424 tests: unify test-keyword 2010-08-13 13:54:33 +01:00
Matt Mackall
b9245aed5b test-walk: enable absolute path tests 2010-08-13 13:20:15 -05:00
Nicolas Dumazet
8e66bf00c0 tests: unify test-grep 2010-08-16 02:03:29 +09:00
Nicolas Dumazet
32ca03310d cmdutil: code simplification 2010-08-15 23:38:00 +09:00