- Oct 09, 2010
-
-
Adrian Buehlmann authored
- 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
-
- Sep 14, 2010
-
-
Dan Villiom Podlaski Christiansen authored
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...)
-
- Oct 09, 2010
-
-
Christian Ebert authored
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 authored
Rearrange tests to check this, i.e. that there are changes in other files, not only the recorded one.
-
- Oct 10, 2010
-
-
Dan Villiom Podlaski Christiansen authored
(For the purposes of this patch copy is defined as a rename where the source continues to exist.)
-
- Oct 09, 2010
-
-
Augie Fackler authored
Fixes issue1564.
-
Brodie Rao authored
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 authored
-
Dan Villiom Podlaski Christiansen authored
Use a glob instead of expecting $TESTTMP.
-
Benoit Boissinot authored
-
Benoit Boissinot authored
-
Patrick Mezard authored
-
Patrick Mezard authored
patch(1) does silently ignore malformed hunks but this is not something we want to copy.
-
Patrick Mezard authored
-
Patrick Mezard authored
-
Patrick Mezard authored
-
Patrick Mezard authored
By now the internal patcher is probably more reliable than anything we might find on the command line.
-
Patrick Mezard authored
-
Patrick Mezard authored
-
kiilerix authored
Use a glob instead of expecting $TESTTMP.
-
Martin Geisler authored
-
Augie Fackler authored
-
Benoit Boissinot authored
-
Matt Mackall authored
-
Matt Mackall authored
-
Benoit Boissinot authored
var and home expansion should be done first.
-
- Aug 17, 2010
-
-
Dan Villiom Podlaski Christiansen authored
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.
-
- Oct 09, 2010
-
-
Brodie Rao authored
-
Brodie Rao authored
-
Dan Villiom Podlaski Christiansen authored
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 authored
-
Adrian Buehlmann authored
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 authored
-
Augie Fackler authored
-
Benjamin Pollack authored
-
- Oct 08, 2010
-
-
Martin Geisler authored
-
Martin Geisler authored
-
- Oct 09, 2010
-
-
Nicolas Dumazet authored
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"
-
- Oct 08, 2010
-
-
Nicolas Dumazet authored
-
- Oct 09, 2010
-
-
kiilerix authored
Long tmpdir names caused truncation of subject anyway, and that made $TESTTMP replacement fail.
-