- Jul 27, 2018
-
-
Boris Feld authored
There is no point in keeping an empty revision in the middle of a chain since they won't contribute any data. So we filter them out when looking for a valid base delta.
-
- Jul 28, 2018
-
-
Boris Feld authored
We now display details about the course of emptiness (empty text or empty delta).
-
- Jul 27, 2018
-
-
Boris Feld authored
A revlog entry can be "empty" for two reasons: * the stored text is empty * we found another entry with the exact same content Tracking them separately make revlog content clearer.
-
Boris Feld authored
This help to understand the code.
-
- Aug 14, 2018
-
-
Boris Feld authored
As advertised, the method is dropped in 4.8.
-
Boris Feld authored
As advertised, the method is dropped in 4.8.
-
- Aug 10, 2018
-
-
Yuya Nishihara authored
-
Yuya Nishihara authored
-
Matt Harbison authored
The prototype takes a 'void *', but self->offsets is a 'const char **'. mercurial/cext/revlog.c(2011) : warning C4090: 'function' : different 'const' qualifiers
-
Matt Harbison authored
There's one more, and I'm not sure why it isn't being tripped on other platforms: mercurial/cext/revlog.c(430) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'char', possible loss of data
-
Matt Harbison authored
mercurial/cext/revlog.c(1541) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift int ended?)
-
- Aug 09, 2018
-
-
Martin von Zweigbergk authored
The nodetree's internal capacity field is measures in nodetree nodes, which is not something the caller should have to know about. Differential Revision: https://phab.mercurial-scm.org/D4166
-
Martin von Zweigbergk authored
We were duplicating the "*2" instead of reusing it. It's overflow-safe to reuse as long as the growth factor (i.e. currently 2) is not larger than sizeof(nodetreenode) (currently 64 or 128). Differential Revision: https://phab.mercurial-scm.org/D4165
-
Martin von Zweigbergk authored
It's clearer to have the check just before the allocation happens. Differential Revision: https://phab.mercurial-scm.org/D4164
-
Martin von Zweigbergk authored
As noted by Yuya in the review of D4118, the fact that the nodetree always contains the nullid is not what we want for the disambiguation case. It's not what the pure version of the code does. Note that the updated test also passes before this patch, but it wouldn't have passed in native-code mode once we start using the nodetree for disambiguating nodeid prefixes. Differential Revision: https://phab.mercurial-scm.org/D4163
-
Martin von Zweigbergk authored
This is a follow-up to 781b2720d2ac (index: don't include nullid in len(), 2018-07-20). I intentionally didn't update the "index stats", so it will also not include the space for nullid after this patch. Differential Revision: https://phab.mercurial-scm.org/D4162
-
Augie Fackler authored
Differential Revision: https://phab.mercurial-scm.org/D4184
-
- Aug 01, 2018
-
-
Pulkit Goyal authored
Follows up for d558e53cd6b6. Differential Revision: https://phab.mercurial-scm.org/D4259
-
- Aug 10, 2018
-
-
Augie Fackler authored
Differential Revision: https://phab.mercurial-scm.org/D4258
-
Augie Fackler authored
Differential Revision: https://phab.mercurial-scm.org/D4257
-
Augie Fackler authored
Otherwise we get an exception. Sadly, this manifesting deep inside the wireproto code, inside a future. For some reason the exception was /causing a hang/ rather than actually propagating out, which seems like it might merit some investigation in the future. Differential Revision: https://phab.mercurial-scm.org/D4256
-
Augie Fackler authored
This wasn't causing any immediate problems because of the source transformer, but I noticed the inconsistency and it bugged me. # skip-blame just a b prefix Differential Revision: https://phab.mercurial-scm.org/D4255
-
Augie Fackler authored
# skip-blame just b prefixes Differential Revision: https://phab.mercurial-scm.org/D4254
-
Augie Fackler authored
The format string expected the result, callers all passed the result, but we didn't actually accept the result to this function. I swear I've looked at this code a dozen times trying to find the problem, and it was this simple all along. Differential Revision: https://phab.mercurial-scm.org/D4253
-
Augie Fackler authored
Differential Revision: https://phab.mercurial-scm.org/D4252
-
Augie Fackler authored
Differential Revision: https://phab.mercurial-scm.org/D4251
-
Augie Fackler authored
It now passes on Python 3. # skip-blame b prefix Differential Revision: https://phab.mercurial-scm.org/D4250
-
Augie Fackler authored
This way all files open. So far none of our patterns look like they'll care. Differential Revision: https://phab.mercurial-scm.org/D4249
-
Augie Fackler authored
test-glog-beautifygraph.t now passes on Python 3. Differential Revision: https://phab.mercurial-scm.org/D4247
-
Augie Fackler authored
Differential Revision: https://phab.mercurial-scm.org/D4246
-
Augie Fackler authored
# skip-blame just an r prefix Differential Revision: https://phab.mercurial-scm.org/D4245
-
Augie Fackler authored
This stabilizes some revset reprs across Python 2 and 3. Differential Revision: https://phab.mercurial-scm.org/D4244
-
Augie Fackler authored
This is the old (Python 2) way of printing sets. I actually prefer the Python 3 version of the repr, but this will result in less test churn in the short term. Differential Revision: https://phab.mercurial-scm.org/D4243
-
Augie Fackler authored
Differential Revision: https://phab.mercurial-scm.org/D4242
-
Augie Fackler authored
Resolves a few output changes on Python 3 in test-mq.t, and gets us two new passing tests. Differential Revision: https://phab.mercurial-scm.org/D4248
-
- Aug 09, 2018
-
-
Augie Fackler authored
Everything uses unittest idioms now, so this can go away. Differential Revision: https://phab.mercurial-scm.org/D4185
-
Augie Fackler authored
This was caught by the tests, to my surprise. I'll also follow up with a test of the index[-1] behavior so we can be sure that remains consistent, as I think that currently has no coverage. Differential Revision: https://phab.mercurial-scm.org/D4183
-
Augie Fackler authored
I think this was previously getting lucky in Python 3, and would have stacktraced if something failed. Now that failure messages are eagerly computed, this turned into a problem. Differential Revision: https://phab.mercurial-scm.org/D4182
-
Augie Fackler authored
Differential Revision: https://phab.mercurial-scm.org/D4181
-
- Aug 10, 2018
-
-
Augie Fackler authored
test-grep.t now passes on Python 3. Differential Revision: https://phab.mercurial-scm.org/D4240
-