Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 11 Oct 2010 12:45:36 -0500] rev 12703
wireproto: introduce pusherr() to deal with "unsynced changes" error
The behaviour between http and ssh still differ:
- the "unsynced changes" is seen as a remote output in the http cases
- but it is correctly seen as a push error for ssh
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 11 Oct 2010 12:44:33 -0500] rev 12702
wireproto: redirect the output earlier
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 11 Oct 2010 12:44:11 -0500] rev 12701
wireproto: return in finally was messing with the return inside the block
Dirkjan Ochtman <dirkjan@ochtman.nl> [Mon, 11 Oct 2010 13:51:10 +0200] rev 12700
tests: use a glob for all of the host, might not be localhost
Dirkjan Ochtman <dirkjan@ochtman.nl> [Mon, 11 Oct 2010 13:49:53 +0200] rev 12699
commands: add move alias for the rename command
svn provides move, and it's also a standard tool on Windows.
Matt Mackall <mpm@selenic.com> [Sun, 10 Oct 2010 18:02:52 -0500] rev 12698
util: make wrap() require a width argument
This keeps hgweb's help engine from poking at file descriptors that
don't exist.
Brodie Rao <brodie@bitheap.org> [Sat, 09 Oct 2010 16:55:33 -0500] rev 12697
showconfig: don't accept multiple sections and one config item
Showconfig now behaves as documented and only accepts one section.name argument
or a number of section names.
Matt Mackall <mpm@selenic.com> [Sun, 10 Oct 2010 17:35:28 -0500] rev 12696
hgweb: another fix for the help termwidth bug
Brodie Rao <brodie@bitheap.org> [Sun, 10 Oct 2010 12:21:49 -0500] rev 12695
pager: don't run pager if nothing is written to stdout/stderr
This decides when to run the pager based on the first call to
ui.write() and ui.write_err(). This has the side effect of not the
output of subprocesses that write output before hg does.
Brodie Rao <brodie@bitheap.org> [Sun, 10 Oct 2010 12:21:48 -0500] rev 12694
pager: add global --pager=<auto/boolean> option
Brodie Rao <brodie@bitheap.org> [Sun, 10 Oct 2010 12:21:36 -0500] rev 12693
color: add global option in extsetup() instead of globally
This prevents side effects from occurring when importing the color
extension.
Matt Mackall <mpm@selenic.com> [Sun, 10 Oct 2010 11:05:06 -0500] rev 12692
hgweb: more ui fiddling
Augie Fackler <durin42@gmail.com> [Sun, 10 Oct 2010 10:42:44 -0500] rev 12691
hgweb: fix hgweb_mod as well as hgwebdir_mod
Augie Fackler <durin42@gmail.com> [Sun, 10 Oct 2010 10:07:17 -0500] rev 12690
hgwebdir_mod: use fake termwidth to avoid mod_wsgi's wrath
Augie Fackler <durin42@gmail.com> [Sun, 10 Oct 2010 10:06:36 -0500] rev 12689
termwidth: move to ui.ui from util
Kevin Bullock <kbullock@ringworld.org> [Thu, 07 Oct 2010 23:34:21 -0500] rev 12688
help: improve description of update --check
Adrian Buehlmann <adrian@cadifra.com> [Sat, 09 Oct 2010 21:54:50 +0200] rev 12687
store: encode first period or space in filenames (
issue1713)
- Mac OS X has problems with filenames starting with '._'
(e.g. '.FOO' -> '._f_o_o' is now encoded as '~2e_f_o_o')
- Explorer of Windows Vista and Windows 7 strip leading spaces of
path elements of filenames when copying trees
Above problems are avoided by encoding the first space (as '~20') or
period (as '~2e') of all path elements.
This introduces a new entry 'dotencode' in .hg/requires, that is,
a new repository filename layout (inside .hg/store).
Newly created repositories require 'dotencode' by default. Specifying
[format]
dotencode = False
in a config file will use the old format instead.
Prior Mercurial versions will abort with the message
abort: requirement 'dotencode' not supported!
when trying to access a local repository that requires 'dotencode'.
New 'dotencode' repositories can be converted to the previous
repository format with
hg --config format.dotencode=0 clone --pull repoA repoB
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Tue, 14 Sep 2010 23:00:39 +0200] rev 12686
demandimport: fix an obscure corner-case.
Python's __import__() function has 'level' as the fourth argument, not the
third. The code path in question probably never worked.
(This was seen trying to run Mercurial in PyPy. Fixing this made it
die somewhere else...)
Christian Ebert <blacktrash@gmx.net> [Sun, 10 Oct 2010 00:38:57 +0100] rev 12685
keyword: enforce subn method via boolean switch
There are only 2 patterns to choose, and so far only 1 case
where kwtemplater.re_kw.subn is applied on data read from
the working directory: when recording added files.
With this change the code reflects more closely the boolean
character of the switch and underlines the special case.
Christian Ebert <blacktrash@gmx.net> [Sun, 10 Oct 2010 00:30:09 +0100] rev 12684
keyword: fix weeding of expansion candidates when recording
Rearrange tests to check this, i.e. that there are changes
in other files, not only the recorded one.
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Sun, 10 Oct 2010 09:48:37 -0500] rev 12683
copies: don't detect copies as "divergent renames"
(For the purposes of this patch copy is defined as a rename where the
source continues to exist.)
Augie Fackler <durin42@gmail.com> [Sat, 09 Oct 2010 11:02:11 -0500] rev 12682
strip: add --keep flag to avoid modifying wc during strip
Fixes
issue1564.
Brodie Rao <brodie@bitheap.org> [Sat, 09 Oct 2010 17:02:28 -0500] rev 12681
update: use higher level wording for "crosses branches" error
When using "hg update" to update to a revision on another branch, if
the user has uncommitted changes in the working directory, hg aborts
with the following message:
abort: crosses branches (use 'hg merge' to merge or use 'hg update
-C' to discard changes)
If the user isn't trying to update to tip and they follow the command
examples verbatim, they would end up updating to the wrong revision.
This patch removes the command examples in favor of just telling the
user to either merge or use --clean:
abort: crosses branches (merge branches or use --clean to discard
changes)
hg also aborts if the user tries to use "hg update" to get to tip
(without specifying a revision) and tip is on another branch:
abort: crosses branches (use 'hg merge' or use 'hg update -c')
This message is changed in the same fashion:
abort: crosses branches (merge branches or use --check to force
update)
Augie Fackler <durin42@gmail.com> [Sat, 09 Oct 2010 17:58:48 -0500] rev 12680
hgweb: add help link to templates missed in
ead4e21f49f1
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Sat, 09 Oct 2010 17:58:54 -0500] rev 12679
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Use a glob instead of expecting $TESTTMP.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 09 Oct 2010 16:27:10 -0500] rev 12678
run-tests.py: remove support for .bat files
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 09 Oct 2010 16:25:28 -0500] rev 12677
run-tests.py: do not install hg when the tests do no exist
Patrick Mezard <pmezard@gmail.com> [Sat, 09 Oct 2010 15:40:29 -0500] rev 12676
setup.py: write libdir as a python string literal
Patrick Mezard <pmezard@gmail.com> [Sat, 09 Oct 2010 15:13:08 -0500] rev 12675
patch: fails immediately upon malformed hunk
patch(1) does silently ignore malformed hunks but this is not something we want
to copy.
Patrick Mezard <pmezard@gmail.com> [Sat, 09 Oct 2010 15:13:08 -0500] rev 12674
patch: always raise PatchError with a message, simplify handling
Patrick Mezard <pmezard@gmail.com> [Sat, 09 Oct 2010 15:13:08 -0500] rev 12673
patch: simplify externalpatch() arguments
Patrick Mezard <pmezard@gmail.com> [Sat, 09 Oct 2010 15:13:08 -0500] rev 12672
util: remove needbinary(), no longer used for external patching
Patrick Mezard <pmezard@gmail.com> [Sat, 09 Oct 2010 15:13:08 -0500] rev 12671
patch: remove internal patcher fallback and NoHunk error
By now the internal patcher is probably more reliable than anything we might
find on the command line.
Patrick Mezard <pmezard@gmail.com> [Sat, 09 Oct 2010 15:13:08 -0500] rev 12670
patch: remove unused patchmeta.lineno
Patrick Mezard <pmezard@gmail.com> [Sat, 09 Oct 2010 15:13:08 -0500] rev 12669
patch: remove unused flags from readgitpatch()
Mads Kiilerich <mads@kiilerich.com> [Sat, 09 Oct 2010 15:06:22 -0500] rev 12668
test-subrepo-svn.t: ignore that subversion %-encodes $TESTTMP
Use a glob instead of expecting $TESTTMP.
Martin Geisler <mg@lazybytes.net> [Sat, 09 Oct 2010 22:05:24 +0200] rev 12667
revsets: fix stray * in help topic
Augie Fackler <durin42@gmail.com> [Sat, 09 Oct 2010 12:27:14 -0500] rev 12666
web: add a help view for getting hg help output
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 09 Oct 2010 15:00:30 -0500] rev 12665
fix indentation error
Matt Mackall <mpm@selenic.com> [Sat, 09 Oct 2010 14:50:20 -0500] rev 12664
merge: handle no file parent in backwards merge (
issue2364)
Matt Mackall <mpm@selenic.com> [Sat, 09 Oct 2010 14:52:58 -0500] rev 12663
merge with crew
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 09 Oct 2010 12:28:16 -0500] rev 12662
ui.paths: expand paths directly in fixconfig (
issue2373)
var and home expansion should be done first.
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Tue, 17 Aug 2010 15:44:38 +0200] rev 12661
setup/hg: always load Mercurial from where it was installed.
This provides two new features:
- Mercurial may be installed into a non-standard location without
having to set PYTHONPATH.
- Multiple installations can use Mercurial from different locations.
Brodie Rao <brodie@bitheap.org> [Sat, 09 Oct 2010 11:55:25 -0500] rev 12660
revsets: add a sample query to the help for getting active branches
Brodie Rao <brodie@bitheap.org> [Sat, 09 Oct 2010 11:54:42 -0500] rev 12659
revsets: add descriptions for sample queries in the help
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Sat, 09 Oct 2010 11:53:48 -0500] rev 12658
mq: silence spurious output.
When using a versioned patch repository, you would get a spurious
warning when deleting and adding the same patch.
Before:
$ hg qdelete --keep 3.diff
$ hg qimport --existing 3.diff
adding 3.diff to series file
3.diff already tracked!
After:
$ hg qdelete --keep 3.diff
$ hg qimport --existing 3.diff
adding 3.diff to series file
Brodie Rao <brodie@bitheap.org> [Sat, 09 Oct 2010 11:27:29 -0500] rev 12657
revsets: clarify in the help that head() returns named branch heads
Adrian Buehlmann <adrian@cadifra.com> [Sat, 09 Oct 2010 11:16:35 +0200] rev 12656
tests: add testcase for
208fc9ad6a48 to test-alias.t
The testsuite lacks a testcase for the bug introduced in
208fc9ad6a48.
This patch amends
301d7626e0ff (which fixed
208fc9ad6a48) by adding a
testcase for that bug.
With
208fc9ad6a48, test-alias.t (as modified by this patch) fails
with "hg tglog: invalid arguments".
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Sat, 09 Oct 2010 10:36:50 -0500] rev 12655
mq: handle deleting the same patch twice in one command (
issue2427)
Augie Fackler <durin42@gmail.com> [Sat, 09 Oct 2010 09:55:52 -0500] rev 12654
progress: make sure stderr has isatty before calling (
issue2191)
Benjamin Pollack <benjamin@bitquabit.com> [Sat, 09 Oct 2010 18:04:36 +0200] rev 12653
windows: handle spaces in path to Python (
issue2074)
Martin Geisler <mg@lazybytes.net> [Fri, 08 Oct 2010 23:23:49 +0200] rev 12652
minirst: pull admonition titles out formatblock function
Martin Geisler <mg@lazybytes.net> [Fri, 08 Oct 2010 23:19:26 +0200] rev 12651
minirst: refactor/simplify findblocks
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sat, 09 Oct 2010 15:41:53 +0200] rev 12650
inotify: raise correct error if server is already started in a deep repository
When path is too long to be an Unix socket address, we create a socket in a
temporary directory and link from the long path to the shorter one.
But checks in server code at startup were insufficient in this case, and used
to raise an unclear "tried linking .hg/inotify.sock to a temporary socket but
.hg/inotify.sock already exists"
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 08 Oct 2010 21:43:21 +0200] rev 12649
setup: user-friendly error message if Python headers are missing
Mads Kiilerich <mads@kiilerich.com> [Sat, 09 Oct 2010 07:13:51 -0500] rev 12648
test-keyword: ignore subject in notify hook mails
Long tmpdir names caused truncation of subject anyway, and that made $TESTTMP
replacement fail.
Mads Kiilerich <mads@kiilerich.com> [Sat, 09 Oct 2010 07:13:49 -0500] rev 12647
test-keyword: fix test glob to ACL/SELinux flag
Mads Kiilerich <mads@kiilerich.com> [Sat, 09 Oct 2010 07:13:47 -0500] rev 12646
test-notify: fix fix for line continuation in long mail header lines
Continued lines can also start with space.
Note that this hack also incorrectly patches the diff output.
Mads Kiilerich <mads@kiilerich.com> [Fri, 08 Oct 2010 23:39:44 -0500] rev 12645
import: don't strip '#' lines from patch descriptions (issue 2417)
Previously no '# ' lines came through the parser.
Now only the first '# ' lines are processed, from '# HG changeset patch' and to
the first line not starting with '# '.
Mads Kiilerich <mads@kiilerich.com> [Fri, 08 Oct 2010 22:36:11 -0500] rev 12644
test-notify: stabilize output
test-notify is made a bit more stable by stripping "all" folders away instead
of just 3.
Mads Kiilerich <mads@kiilerich.com> [Fri, 08 Oct 2010 22:36:11 -0500] rev 12643
tests: reintroduce ":$HGPORT" in test output
This reduces the number of patterns that must be adjusted when writing tests.
Mads Kiilerich <mads@kiilerich.com> [Fri, 08 Oct 2010 22:36:11 -0500] rev 12642
tests: remove the last traces of $HGTMP
$HGTMP isn't needed - and if we need something like that then $TESTTMP is more
appropriate.
Mads Kiilerich <mads@kiilerich.com> [Fri, 08 Oct 2010 22:36:10 -0500] rev 12641
tests: remove filtertmp.py and helpers.sh
These nice starts ended up being replaced with globs.
Mads Kiilerich <mads@kiilerich.com> [Fri, 08 Oct 2010 22:36:10 -0500] rev 12640
tests: remove redundant globs
Many globs now just match $TESTTMP and is no longer needed.