- Apr 01, 2013
-
-
Matt Mackall authored
-
- Mar 30, 2013
-
-
Nikolaj Sjujskij authored
This was giving the following error: % hg up 2.5-r<Tab> (eval):1: bad substitution % hg up 2.5-r
-
- Mar 29, 2013
-
-
Matt Mackall authored
-
Matt Mackall authored
-
Matt Mackall authored
-
- Mar 01, 2013
-
-
Wagner Bruna authored
-
- Feb 28, 2013
-
-
Katsunori FUJIWARA authored
-
- Mar 29, 2013
-
-
Bryan O'Sullivan authored
-
- Mar 27, 2013
-
-
Bryan O'Sullivan authored
-
Bryan O'Sullivan authored
The irony is delicious.
-
- Feb 28, 2013
-
-
Simon Heimberg authored
As suggested by mpm reintroducing this test failure on windows is prevented by a code-check. One line in a unix test is ignored. This pattern matches 20 windows glob lines.
-
Simon Heimberg authored
-
Simon Heimberg authored
it will be used often
-
- Mar 26, 2013
-
-
Bryan O'Sullivan authored
Previously, we opened the log file when creating a repo object. This was inefficient (not all repo creation is going to result in a need to log something), but more importantly it broke subrepo updates when used on NFS. * perform an update in the master repo that triggers a subrepo clone * empty subrepo already exists, and has an open, empty blackbox.log file due to it being opened eagerly/prematurely * hg decides to blow away the skeletal subrepo (see use of shutil.rmtree in subrepo._get) * we crash, due to NFS treating a delete of an open file as really a rename to a hidden ".nfs" file Now that we open the blackbox log file on demand, no file exists at the time the empty subrepo is deleted, so the above problem does not occur.
-
- Mar 22, 2013
-
-
Sean Farley authored
This reduces the likelihood of a traceback when trying to email a patch that happens to have 'diff --git' at the beginning of a line in the description, as this patch did: http://markmail.org/message/wxpgowxd7ucxygwe
-
- Mar 21, 2013
-
-
Simon Heimberg authored
-
Simon Heimberg authored
When we pass on the path to the repo, the repo is created in hgweb. But the repo is already here, so pass it on.
-
Simon Heimberg authored
The baseui was carefully prepared but not used. ui can contain repo specific settings which can have unwanted effects.
-
Simon Heimberg authored
Recreate the repo with the global configuration in repo.baseui. The repo configuration is reread anyway. And now deleted repo configuration is reset to the default value.
-
- Oct 10, 2012
-
-
Simon Heimberg authored
A repo should not get the configuration from an other repo, so create it with the global configuration in repo.baseui. This is done too when recreating a repo. The repo configuration is reread anyway. And now deleted repo configuration does not persist.
-
- Mar 04, 2013
-
-
Johan Bjork authored
With the previous version, a binary file removal diff generated with
-
- Mar 24, 2013
-
-
Siddharth Agarwal authored
-
- Mar 26, 2013
-
-
Siddharth Agarwal authored
This patch improves manifestmerge performance significantly. In a repository with 170,000 files, the following results were observed on a clean working directory. Revision '.' adds one file. hg perfmergecalculate -r . - before: 0.41 seconds - after: 0.13 seconds hg perfmergecalculate -r .^ - before: 0.53 seconds - after: 0.24 seconds Comparing against '.' is much faster than comparing against '.^' because with '.', the wctx and p2 manifest strings have the same identity, so comparisons are simply pointer equality. With '.^', the strings have different identities so we need to perform memcmps. Any operation that uses manifestmerge benefits. - hg update . goes from 2.04 seconds to 1.75 - hg update .^ goes from 2.52 seconds to 2.25 - hg rebase -r . -d .~6 (involves 4 merges) goes from 11.8 seconds to 10.8
-
- Mar 25, 2013
-
-
Siddharth Agarwal authored
This will be used in an upcoming patch.
-
- Mar 26, 2013
-
-
Siddharth Agarwal authored
Given two dicts, diff returns a dict containing all the keys that are present in one dict but not the other, or whose values are different between the dicts. The values are pairs of the values from the dicts, with missing values being represented as an optional argument, defaulting to None. Given two dicts, join performs what is known as an outer join in relational database land: it returns a dict containing all the keys across both dicts. The values are pairs as above, except they aren't compared to see if they're the same.
-
- Mar 23, 2013
-
-
Constantine Linnick authored
If you actively work with branches, sometimes you need to close old branches which last commited hundreds revisions ago. After close you will see long lines in graph visually spoiling history. This sort only moves closed revisions as close as possible to parents and does not increase storage size as datesort do.
-
- Mar 24, 2013
-
-
Siddharth Agarwal authored
An upcoming patch will combine the two loops into one, so it's important to distinguish between nodes in m1 and nodes in m2.
-
- Mar 25, 2013
-
-
Siddharth Agarwal authored
The performance of merge.manifestmerge will be improved in upcoming patches. This command will be used to demonstrate the improvement.
-
Bryan O'Sullivan authored
-
- Mar 23, 2013
-
-
Siddharth Agarwal authored
This case is a common one -- e.g. `hg diff`. For a repository with 170,000 files, this speeds up perfstatus from 0.95 seconds to 0.88.
-
Siddharth Agarwal authored
This case is a common one -- e.g. `hg status`. For a repository with 170,000 files, this speeds up perfstatus --unknown from 2.15 seconds to 2.09.
-
- Mar 25, 2013
-
-
Siddharth Agarwal authored
Upcoming patches will speed dirstate.walk up by not filtering based on the match function when match.always() is True. For that to work, match.always() needs to be accurate. Previously it wasn't so for largefiles.
-
Siddharth Agarwal authored
An upcoming patch will speed dirstate.walk up by not querying the results dict when it is empty. This ensures it is in some common cases. This should be safe because subrepos and .hg aren't part of the dirstate.
-
Kevin Bullock authored
-
- Mar 22, 2013
-
-
Bryan O'Sullivan authored
-
- Oct 16, 2012
-
-
Andrej Shadura authored
No need to regsub all \r\n's to \n's, we can just split on \r as well; this may produce extra empty elements in the list, but they won't match anyway.
-
Andrej Shadura authored
As when hg tags is being called without -v option, it returns lines with two elements in each, we can just interate them as if it were a usual Tcl list using foreach and two variables. Line endings and whitespace don't matter when doing so, so we may keep them as is. When we're processing the lines, tag variable is assigned a tag name, and rev is a string in form of revision:hash which we can split on colon. As Tcl8.4 lacks lassign command, and using lindex makes code a bit less readable, we use foreach to iterate over two-element list.
-
- Mar 22, 2013
-
-
Andrej Shadura authored
Add support for phases. Update tests.
-
- Mar 10, 2013
-
-
Andrej Shadura authored
Replace labels with window titles. That also requires to change grid placement manager settings to compensate padding which used to be applied to now non-existent labels.
-
Andrej Shadura authored
Ttk doesn't automatically set up Tk colour palette. Because of that, Ttk controls look differently when used together with old Tk controls. When we use Ttk controls, we first query if we have any setting for the client background, and if we do, we update Tk palette as well.
-