- Apr 27, 2018
-
-
Augie Fackler authored
Differential Revision: https://phab.mercurial-scm.org/D3513
-
Augie Fackler authored
As in some other tests, I like confirming that we're dealing with bytes here, so the b prefix is now in the expected output on both 2 and 3. Differential Revision: https://phab.mercurial-scm.org/D3512
-
Augie Fackler authored
Differential Revision: https://phab.mercurial-scm.org/D3511
-
Augie Fackler authored
A little bit of output churn because we now get b'' prefixes on output in both 2 and 3, but for this test I'm more comfortable knowing that we're using bytestrs everywhere. Differential Revision: https://phab.mercurial-scm.org/D3510
-
Augie Fackler authored
This is a weird "minimally invasive" port. I think there's room to do better here, but I'm also not sure how often we'll touch this code... Differential Revision: https://phab.mercurial-scm.org/D3509
-
Augie Fackler authored
We should probably start giving some thought to migrating the status tuple to attrs, but not now. Differential Revision: https://phab.mercurial-scm.org/D3508
-
- May 08, 2018
-
-
Martin von Zweigbergk authored
When an attempt to update to a hidden changeset fails because the working copy is dirty, you may get a message like this: updating to a hidden changeset 343f6de32686 (hidden revision '343f6de32686' was rewritten as: 4ab941244072) abort: conflicting changes (commit or update --clean to discard changes) It's easy to miss the real error here. This patch moves the warning about the hidden changeset to after the update has happened. It changes the verb tense accordingly (and drops the "a" that I think it sounds better without). Of course, this means that the commit isn't actually hidden anymore when the message is printed. I think that's fine. Differential Revision: https://phab.mercurial-scm.org/D3479
-
- Apr 27, 2018
-
-
Augie Fackler authored
Differential Revision: https://phab.mercurial-scm.org/D3490
-
Augie Fackler authored
Differential Revision: https://phab.mercurial-scm.org/D3489
-
- May 09, 2018
-
-
Martin von Zweigbergk authored
If you forget to clear bisect state after you're done bisecting (as I've done twice in the last week or so), the next time you run `hg bisect --good/--bad`, it's going to tell you "The first bad revision is:" etc. It's probably not obvious to new users what's going on, and having the verbose output about an ongoing bisection will probably help them, so let's turn it back on by default. Differential Revision: https://phab.mercurial-scm.org/D3516
-
- Apr 03, 2018
-
-
Yuya Nishihara authored
This is a list of simple values, which can be a hybrid list.
-
Yuya Nishihara authored
This is also a generator of mappings, which needs a wrapper.
-
Yuya Nishihara authored
This is also a generator of mappings, which needs a wrapper.
-
- Apr 01, 2018
-
-
Yuya Nishihara authored
Bare generator of mappings shouldn't be put in a template mapping because its type can't be determined without consuming it.
-
Yuya Nishihara authored
It's replaced by a context argument passed to a mappinggenerator.
-
Yuya Nishihara authored
These can't be hybrid lists as they've associated with named template, 't1'.
-
Yuya Nishihara authored
Callers never pass excessive arguments to these functions.
-
- May 08, 2018
-
-
Anton Shestakov authored
The difference between templatekw.getgraphnode() and webutil.getgraphnode() is that the latter is not limited to 1 character.
-
Anton Shestakov authored
getgraphnodecurrent() is checking if the node is currently checked out and getgraphnodesymbol() is checking properties that have more to do with the stored data and the DAG.
-
- Apr 01, 2018
-
-
Yuya Nishihara authored
This is also a 0/1-length list of a simple value, can be a hybrid list. Appears that we have many {branch} variants.
-
Yuya Nishihara authored
This is also a 0/1-length list of a simple value, can be a hybrid list.
-
Yuya Nishihara authored
This is a 0/1-length list of a simple value, can be a hybrid list.
-
Yuya Nishihara authored
This is also a list of simple values.
-
Yuya Nishihara authored
This one is a list of simple values, which can be a hybrid list.
-
Yuya Nishihara authored
No bare list of mappings should be put in a template mapping.
-
- Apr 27, 2018
-
-
Augie Fackler authored
The same print() hack as test-filecache.py. Differential Revision: https://phab.mercurial-scm.org/D3507
-
Augie Fackler authored
Only remarkable bit is my wrapper around print(), which I regret a little, but not enough to go back and try to do something cleaner. Differential Revision: https://phab.mercurial-scm.org/D3506
-
Augie Fackler authored
I suspect this b''.join() was a remnant of an earlier iteration of this code, as it was building a string from a string. Differential Revision: https://phab.mercurial-scm.org/D3505
-
Augie Fackler authored
The only problem lurking in here was sorts of mismatched types. The sorts are only for output stability in our tests (sigh), so we just build a phony sort key using the __name__ of types so that we only compare like types against each other. By pure luck, my awful sort key matches the behavior we get "for free" in Python 2, so no test output changes. Differential Revision: https://phab.mercurial-scm.org/D3504
-
Augie Fackler authored
This makes test-lock.py slightly less broken, but it's still pretty far from passing. Differential Revision: https://phab.mercurial-scm.org/D3503
-
Augie Fackler authored
# skip-blame just b prefixes Differential Revision: https://phab.mercurial-scm.org/D3496
-
Augie Fackler authored
# skip-blame adding and removing b prefixes Differential Revision: https://phab.mercurial-scm.org/D3495
-
Augie Fackler authored
# skip-blame just b prefixes and int() instead of long() Differential Revision: https://phab.mercurial-scm.org/D3494
-
Augie Fackler authored
Differential Revision: https://phab.mercurial-scm.org/D3493
-
Augie Fackler authored
# skip-blame just b prefixes Differential Revision: https://phab.mercurial-scm.org/D3492
-
Augie Fackler authored
The former is deprecated. No functionality change. # skip-blame just removing an ess and some whitespace Differential Revision: https://phab.mercurial-scm.org/D3491
-
Augie Fackler authored
# skip-blame just b prefixes Differential Revision: https://phab.mercurial-scm.org/D3488
-
Augie Fackler authored
Differential Revision: https://phab.mercurial-scm.org/D3487
-
Augie Fackler authored
Differential Revision: https://phab.mercurial-scm.org/D3486
-
Augie Fackler authored
Differential Revision: https://phab.mercurial-scm.org/D3485
-