- Oct 18, 2012
-
-
Pierre-Yves David authored
The amend logic have use for it.
-
Adrian Buehlmann authored
-
Adrian Buehlmann authored
-
- May 05, 2012
-
-
Kevin Bullock authored
-
- Oct 14, 2012
-
-
Idan Kamara authored
Colors were picked in accordance to GNU grep.
-
Idan Kamara authored
-
- Oct 08, 2012
-
-
Pierre-Yves David authored
For changelog level filtering to take effect it need to be used for any iteration. Some remaining use of `xrange` in revset code is replace by proper use of `changelog.revs` or direct iteration over changelog.
-
Pierre-Yves David authored
Most method added (or overwritten) to repo by largefile works on `repo` instead of `self`. This currently works without trouble because `self` and `repo` are likely the same. However this is semantically dubious and this may cause issue for filtering. `self` may be proxy object different from the `repo` one. This changeset fix that and use `self` when applicable.
-
- Oct 16, 2012
-
-
Pierre-Yves David authored
To use changelog filtering on the repository, we plan to use "proxy" object that perfectly mock a repository but with a filtered changelog. Altering the `repo.commit` function using `extensions.wrapfunction` will prevent the logic to propagate to the proxy class by the mean of inheritance. We changes the extension to use subclassing as expectable.
-
- Oct 17, 2012
-
-
kiilerix authored
-
kiilerix authored
Before af7c6bc48d8d all crlf occurrences in test output on Windows were simply changed to lf. In af7c6bc48d8d it was replaced by more clever handling in the .t test runner ... but the .py runner was forgotten and many .py tests were failing on Windows. The crlf/lf replacement is now reintroduced in the py test runner.
-
kiilerix authored
An incorrect and failing test case was introduced in af7c6bc48d8d.
-
Shun-ichi GOTO authored
This changeset fix the problem to use win32mbcs with mercurial 2.3 or later. The problem is brought by side effect of modification of encoding.upper() (changeset 17236:9fb8312dbdbd) because upper() does not accept unicode string argument. So wrapped util.normcase() which uses upper() will fail. In other words, upper() and lower() are unicode incompatible. To fix this issue, this changeset adds new wrapper for reversed conversion (unicode to str) for lower() and upper() to use them safely.
-
- Oct 05, 2012
-
-
Huayang authored
convert doesn't normalise double slashes in paths. Path normalization is applied when a path is loaded into filemap and when a file lookup request is issued to filemap.
-
- Oct 17, 2012
-
-
Matt Mackall authored
Revision numbers are unstable when non-consecutive revs are stripped.
-
Christian Ebert authored
-
- Oct 09, 2012
-
-
Matt Harbison authored
It looks like this method missed the updates in 30273f0c776b (which changed the preferred discovery method from findcommonincoming() to findcommonoutgoing()), and cd956049fc14 (which rolls up the outgoing lists into a single object).
-
- Oct 15, 2012
-
-
Wagner Bruna authored
Over http, a failed pushkey hook simply crashed the server, and successful hook output was never sent to the client.
-
- Oct 16, 2012
-
-
Sean Farley authored
-
- Oct 17, 2012
-
-
Kevin Bullock authored
Remove some unnecessary return statements and collect some checks into one place. As requested by Thomas Arendsen Hein <thomas@intevation.de>.
-
David Soria Parra authored
Options like --delete and --rename are incompatible with each other. In this case we abort. We do not abort if the result is a nullop. Nullops are: '--delete --inactive', '--delete --force'.
-
David Soria Parra authored
-
- Oct 16, 2012
-
-
Sean Farley authored
This allows the user to set different colors for each phase, e.g. [color] changeset.public = blue changeset.draft = green changeset.secret = red In addition, this doesn't affect current configuration for custom log.changeset colors, but rather adds the option for users that want to visually see which changesets are amendable.
-
durin42 authored
The fix is just to make sure we always pass use_ssl=False to non-SSL connections.
-
- Oct 15, 2012
-
-
Pierre-Yves David authored
We don't need to compute the set of all branchpoints. We can just check the number of children that element of subset have. The extra work did not seems to had particular performance impact but the code is simpler this way.
-
Pierre-Yves David authored
Otherwise filtered changesets may cause false positives in `branchpoint()`.
-
- Oct 12, 2012
-
-
Adrian Buehlmann authored
-
Adrian Buehlmann authored
-
Adrian Buehlmann authored
This restores the previous semantics of fncache.__contains__(). (a followup to b9a56b816ff2)
-
Adrian Buehlmann authored
test-log.t fails on Windows with --- c:\Users\buildbot\w2k8\Windows_2008_R2_hg_tests\build\tests\test-log.t +++ c:\Users\buildbot\w2k8\Windows_2008_R2_hg_tests\build\tests\test-log.t.err @@ -1225,12 +1225,12 @@ $ echo 1 > d5.d/f1 $ echo 1 > .d6/f1 $ hg add . - adding .d6/f1 - adding D2/f1 - adding D3.i/f1 - adding d1/f1 - adding d4.hg/f1 - adding d5.d/f1 + adding .d6\f1 + adding D2\f1 + adding D3.i\f1 + adding d1\f1 + adding d4.hg\f1 + adding d5.d\f1 $ hg commit -m "a bunch of weird directories" $ hg log -l1 d1/f1 | grep changeset changeset: 0:65624cd9070a
-
Adrian Buehlmann authored
This makes sure that .hg/requires is observed and the correct kind of store object is created. Otherwise we might mutilate our test repos when experimenting with new repo formats.
-
- Oct 14, 2012
-
-
kiilerix authored
Regression was introduced in 6047947afb6b. Resolved by using the fine line noise '\r (no-eol) (glob) (esc)'.
-
kiilerix authored
This makes it possible to combine the annotations ... if done in the right order.
-
- Oct 15, 2012
-
-
kiilerix authored
After f71d60da58fb all \r was stripped from output on Windows, and the places where a \r explicitly was expected it was accepted that it was missing. Ugly hack. Instead we now accept that an extra \r might appear at the end of lines on Windows. That is more to the point and less ugly.
-
- Oct 16, 2012
-
-
Pierre-Yves David authored
People were confused by the fact `obstore.precursors` contained marker allowing to find "precursors" and vice-versa. This changeset changes their meaning to: - precursors[x] -> set(markers on precursors edges of x) - successors[x] -> set(markers on successors edges of x) Some documentation is added to clarify the situation.
-
- Oct 14, 2012
-
-
Pierre-Yves David authored
Recent discussion with Augie Fackler pointed the lack of such example in the documentation.
-
Pierre-Yves David authored
Nullid as successors create multiple issues: - Nullid revnum is -1, confusing algorithm that use revnum unless you add special handling in all of them. - Nullid confuses "divergent" changeset detection and resolution. As you can't add any successors to Nullid without being in even more troubles Fortunately, there is no good reason to use nullid as a successor. The only sensible meaning of "succeed by nullid" is "dropped" and this meaning is already covered by obsolescence marker with empty successors set. However, letting some nullid successors to slip in may cause terrible damage in such algorithm difficult to debug. So I prefer to perform and clear detection of of such pathological changeset. We could be much smarter by cleaning up nullid successors on the fly but it would be much for expensive. As core Mercurial does not create any such changeset, I think it is fine to just abort when suspicious situation is detected. Earlier experimental version created such changesets, so there are some out there. The evolve extension added the necessary logic to clean up its mess.
-
- Oct 16, 2012
-
-
Siddharth Agarwal authored
Maintain a whitelist of commands to infer the repo for instead. The whitelist contains those commands that take file(s) in the working dir as arguments.
-
- Oct 15, 2012
-
-
Siddharth Agarwal authored
-
- Oct 16, 2012
-
-
Pierre-Yves David authored
I arbitrary use the revnum of the precursor because it sound a right order.
-