- Nov 18, 2013
-
-
Siddharth Agarwal authored
Previously, we'd acquire and release the wlock several times. This meant that other hg processes could come in and change state. Instead of that, retain the wlock for the entire duration of the strip.
-
- Nov 10, 2013
-
-
Mads Kiilerich authored
-
- Nov 08, 2013
-
-
Martin Geisler authored
When trying to turn a draft changeset into a secret changeset, I was told: % hg phase -s . cannot move 1 changesets to a more permissive phase, use --force no phases changed That message struck me as being backwards -- the secret phase feels less permissive to me since it restricts the changesets from being pushed. We don't use the word "permissive" elsewhere, 'hg help phase' talks about "lower phases" and "higher phases". I therefore reformulated the error message to be cannot move 1 changesets to a higher phase, use --force That is not perfect either, but more in line with the help text. An alternative could be cannot move phase backwards for 1 changesets, use --force which fits better with the help text for --force.
-
Isaac Jurado authored
-
- Nov 21, 2013
-
-
Matt Mackall authored
-
- Nov 17, 2013
-
-
Siddharth Agarwal authored
Currently, histedit acquires and releases lock and wlock several times during its run. This isn't great because it allows other hg processes to come in and change state. With this fix, lock and wlock are acquired and released exactly once. The change to test-histedit-drop.t is a minor implementation one -- the cache is still correctly invalidated, but it just happens a little later and only gets printed out because of the unrelated --debug flag.
-
- Nov 18, 2013
-
-
Matt Mackall authored
-
Wagner Bruna authored
-
- Nov 17, 2013
-
-
Wagner Bruna authored
-
- Nov 18, 2013
-
-
Matt Mackall authored
-
Matt Mackall authored
Before the templater got extended for nested expressions, it made sense to decode string escapes across the whole string. Now we do it on a piece by piece basis.
-
- Nov 08, 2013
-
-
David Soria Parra authored
when evolve is enabled and a hidden obsolete changeset exists in the repository, the strip during unshelve will fail due to filtered revs. we use an unfiltered repository like to repair.strip to strip the proper nodes.
-
- Nov 07, 2013
-
-
Mads Kiilerich authored
An update would try to fetch any missing largefiles after having updated normal files and standins. That could fail or be interrupted and would leave the working directory in a state where the largefiles not only were missing but also were scheduled for remove ... and where the old largefile was left in place. Instead we now remove old largefiles before starting to download and update missing largefiles.
-
Mads Kiilerich authored
-
Mads Kiilerich authored
-
Mads Kiilerich authored
-
- Nov 17, 2013
-
-
Mads Kiilerich authored
get_log started calling back with orig_paths=None on Fedora 20 with subversion-1.8.3. That broke test-convert-svn-source.t . There used to be some handling of that situation until e8f4e40f285a apparently broke it. This patch restores what seems to be the most obvious handling of the situation.
-
- Nov 16, 2013
-
-
Brodie Rao authored
When running the unshare command, if there's other code that tries to use the repo after the command is finished, it'll end up with a ui object for repo.unfiltered(). This change fixes an erroneous call to repo.__init__() that could be on the repoview proxy class--now it's always done on the unfiltered repo.
-
- Nov 17, 2013
-
-
Pierre-Yves David authored
According to the Surgeon General, computer should not use list for membership testing because of the risk of being slow.
-
- Nov 16, 2013
-
-
Matt Mackall authored
-
- Nov 15, 2013
-
-
Matt Mackall authored
-
- Nov 09, 2013
-
-
Simon Heimberg authored
The code adding the prefix is now run once per pattern. It was run once per file (after the change 3e1e4a8aec1e). Demonstrate that it is working now by extending the test. Raise two different warnings, one of them twice.
-
- Nov 13, 2013
-
-
Wagner Bruna authored
The search mode description can't be translated by itself, since it's displayed as part of a template phrase (the "Assuming ..." / "Use ... instead" bits). Just drop the translation markers for now, since the templates themselves currently do not support translations.
-
- Nov 10, 2013
-
-
Katsunori FUJIWARA authored
-
Katsunori FUJIWARA authored
On MinGW environment, the command line below in test script can't extract wildcard "*" and remove target files correctly. $ rm $ENVVAR/foo/bar.* To extract wildcard, environment variable should be quoted by double quotation like below: $ rm "$ENVVAR"/foo/bar.* This patch also omits "-f" of "rm" to know whether files are removed or not by exit code of it.
-
Katsunori FUJIWARA authored
Before this patch, test code introduced by e3a5922e18c3 into test-extension.t always uses ":" as the path separator in PYTHONPATH. But ";" should be used on Windows. This patch chooses the path separator in PYTHONPATH suitable for platform.
-
- Nov 08, 2013
-
-
Mads Kiilerich authored
Paths ending with \ will fail the verification introduced in 684a977c2ae0 when checking out on Windows ... and if it didn't fail it would probably not do what the user expected.
-
- Nov 05, 2013
-
-
Simon Heimberg authored
for finding '.. note::' (even) more exact by using more characters: replace '.' with 'p' and ':' with 'q'
-
Simon Heimberg authored
Because string entries are replaced before matching, we must search for the transformed pattern. But it seems to be quite unique and does not return false matches. If it will, they can be listed as 3rd arg in pypats.
-
Simon Heimberg authored
Like this no docutils version interprets any line in the following text as argument of note.
-
- Nov 04, 2013
-
-
Simon Heimberg authored
Modifying the test input data shows the effects of the last patches. In text output nothing has changed. In html output the title has moved on its own line.
-
Simon Heimberg authored
This does not add a separating block after a separated note directive. .. note:: text is formatted to Note: text
-
Simon Heimberg authored
Lines with only a directive are not deleted anymore because they are detected before comments are deleted by prunecomments(). addmargins() will be adapted later.
-
Simon Heimberg authored
-
Simon Heimberg authored
When a directive was on its own line, it was interpreted as a literal block. Example of problematic input: .. note:: a note text
-
Wagner Bruna authored
-
- Nov 06, 2013
-
-
Siddharth Agarwal authored
Forgets need to be in the beginning of the action list, same as removes. This lets us avoid clashes in the dirstate where a directory is forgotten and a file with the same name is added, or vice versa.
-
- Nov 02, 2013
-
-
Durham Goode authored
Rebasing with --collapse would leave the working copy on the parent of the collapsed commit, instead of on the collapsed commit. This fixes that. Also fixes a few tests that already covered this area but had bad data. This also fixes issue3716 where bookmarks are not kept across rebases with --collapse. I updated the test to cover that case as well.
-
- Nov 05, 2013
-
-
Durham Goode authored
When aborting a rebase where tip-1 is public, rebase would fail to undo the merge state. This caused unexpected dirstate parents and also caused unshelve to become unabortable (since it uses rebase under the hood). The problem was that rebase uses -2 as a marker rev, and when it checked for immutableness during the abort, -2 got resolved to the second to last entry in the phase cache. Adds a test for the fix. Add exception to phase code to prevent this in the future.
-
Pierre-Yves David authored
This makes the test fails with disabled byte-compilation (PYTHONDONTWRITEBYTECODE="1" environmental variable).
-