- May 01, 2011
-
-
Matt Mackall authored
-
Nicolas Dumazet authored
-
- Apr 30, 2011
-
-
Nicolas Dumazet authored
-
Nicolas Dumazet authored
It's not worth building a repository just to test keep branch when we can do it our bigger, other, already built repositories.
-
Nicolas Dumazet authored
It saves us a clone of a repository.
-
Nicolas Dumazet authored
-
Nicolas Dumazet authored
-
Nicolas Dumazet authored
We were cloning a repo to perform a smoke test that could have been performed earlier.
-
Nicolas Dumazet authored
Add two changesets to the scenario so that the bundle can be reused within three tests. Before: @ 5: 'F' | | o 4: 'E' |/| o | 3: 'D | | | o 2: 'C' |/ | o 1: 'B' |/ o 0: 'A' After: @ 7: 'H' | | o 6: 'G' |/| o | 5: 'F' | | | o 4: 'E' |/ | o 3: 'D' | | | o 2: 'C' | | | o 1: 'B' |/ o 0: 'A' Revisions 0-1 keep the same number/label. Others were translated by an offset of 2 (2.C -> 4.E)
-
Nicolas Dumazet authored
Allows saving a few seconds in test runs by not constructing over and over the same repository.
-
Nicolas Dumazet authored
It should be faster to use a single common bundle instead of recreating 4 times the same repository manually.
-
Nicolas Dumazet authored
-
Nicolas Dumazet authored
-
Nicolas Dumazet authored
-
Nicolas Dumazet authored
Those files are not executable.
-
Nicolas Dumazet authored
-
- May 01, 2011
-
-
Brodie Rao authored
This fixes the color extension not working with pager (broken in 877390020477). The pager extension already sets ui.formatted=True to allow this use case.
-
Brodie Rao authored
-
- Apr 30, 2011
-
-
Augie Fackler authored
-
- May 01, 2011
-
-
Matt Mackall authored
-
Dan Villiom Podlaski Christiansen authored
These two functions allow quickly reading or writing a file, without relying on reference counting to close the file handle afterwards.
-
- Apr 30, 2011
-
-
Alexander Solovyov authored
-
Dan Villiom Podlaski Christiansen authored
The two new methods are useful for quickly opening a file for reading or writing. Unlike 'opener(...).read()', they ensure they the file is immediately closed without relying on CPython reference counting.
-
- May 01, 2011
-
-
Dan Villiom Podlaski Christiansen authored
-
- Apr 30, 2011
-
-
Augie Fackler authored
Without this change, curses complains when invoked in certain contexts because stdout isn't a tty (such as emacs integration) but we ask it to check for various bits of information from terminfo.
-
- May 01, 2011
-
-
Matt Mackall authored
x-arg -> x-hgarg replace itertools.count(1)
-
- Apr 30, 2011
-
-
Steven Brown authored
Send the command arguments in the HTTP headers. The command is still part of the URL. If the server does not have the 'httpheader' capability, the client will send the command arguments in the URL as it did previously. Web servers typically allow more data to be placed within the headers than in the URL, so this approach will: - Avoid HTTP errors due to using a URL that is too large. - Allow Mercurial to implement a more efficient wire protocol. An alternate approach is to send the arguments as part of the request body. This approach has been rejected because it requires the use of POST requests, so it would break any existing configuration that relies on the request type for authentication or caching. Extensibility: - The header size is provided by the server, which makes it possible to introduce an hgrc setting for it. - The client ignores the capability value after the first comma, which allows more information to be included in the future.
-
Dan Villiom Podlaski Christiansen authored
The 'opener' argument wasn't, in fact, an actual opener instance, but rather something expected to return an opener. The normal argument, from localrepository, is the scmutil.opener type; hence 'openertype'.
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
-
Dan Villiom Podlaski Christiansen authored
Currently, this class doesn't do anything useful.
-
Patrick Mezard authored
This makes a big difference in performance in the special case where all revisions are being graphed.
-
Idan Kamara authored
9966c95b8c4f introduced the ability to walk the DAG given arbitrary revisions, but changed the behaviour of it to return a list of all nodes (and create a changectx for each one) rather than doing it lazily. This has a pretty significant impact on performance for large repositories (tested on CPython repo, with output disabled): $ time hg glog real 0m2.642s user 0m2.560s sys 0m0.080s Before 9966c95b8c4f: $ time hg glog real 0m0.143s user 0m0.112s sys 0m0.032s And after this fix: $ time hg glog real 0m0.213s user 0m0.184s sys 0m0.028s
-
Patrick Mezard authored
We do not have revsets to follow file history.
-
Patrick Mezard authored
-
Patrick Mezard authored
follow() revset really means '::.' while we want something based on the passed argument. Also, ancestors() revset does not include the parent revisions.
-
Patrick Mezard authored
-
Patrick Mezard authored
Current version was mispelled and processed like a valued argument.
-
Patrick Mezard authored
For instance, --keyword is a multiple value option while it was processed as a single value option.
-
Kevin Gessner authored
-