- Sep 15, 2014
-
-
Matt Mackall authored
Sadly, this can't be done with the normal templater like we do with XML due to JSON's inter-record comma rules.
-
Matt Mackall authored
This ends up here because it needs to be somewhat encoding aware.
-
Matt Mackall authored
-
- Sep 13, 2014
-
-
Matt Mackall authored
-
- Sep 12, 2014
-
-
Matt Mackall authored
-
- Sep 02, 2014
-
-
Mike Edgar authored
Currently, only the returned meta dictionary is used. An upcoming change will use the returned text offset.
-
- Sep 10, 2014
-
-
Mike Edgar authored
-
Mike Edgar authored
-
- Sep 11, 2014
-
-
Matt Mackall authored
config is generic code that doesn't know about Mercurial usage, so this was at the wrong layer
-
Matt Mackall authored
-
- Aug 19, 2014
- Sep 11, 2014
-
-
durin42 authored
-
- Sep 10, 2014
-
-
durin42 authored
This produces slightly bad results when branches are in play, but overall I think it's probably worthwhile. We might be able to do better with branches somehow, but I haven't given it any thought.
-
durin42 authored
-
durin42 authored
We're about to enhance this support, so test the existing behavior so the improved behavior is obvious in the next patch.
-
- May 26, 2014
-
-
durin42 authored
This makes it possible to estimate how long the "scanning source" phase will take, if the specified source repo type supports a quick "how many changes" check.
-
- Sep 10, 2014
-
-
durin42 authored
-
- Aug 07, 2014
- Sep 05, 2014
-
-
Durham Goode authored
Adds an exception when calling dirstate.setparent without having first called dirstate.beginparentchange. This will prevent people from writing code that modifies the dirstate parent without considering the transactionality of their change. This will break third party extensions that call setparents.
-
Durham Goode authored
Adds a test that checks if the working copy parent and the working copy are in a good state if an exception happens between the time the working copy parent is set and the time the actual updates are recorded in the dirstate.
-
Durham Goode authored
This wraps all the locations of dirstate.setparent with the appropriate begin/endparentchange calls. This will prevent exceptions during those calls from causing incoherent dirstates (issue4353).
-
Durham Goode authored
It's possible for the dirstate to become incoherent (issue4353) if there is an exception in the middle of the dirstate parent and entries being written (like if the user ctrl+c's). This change adds begin/endparentchange which a future patch will require to be set before changing the dirstate parent. This will allow us to prevent writing the dirstate in the event of an exception while changing the parent.
-
- Sep 08, 2014
-
-
Henrik Stuart authored
Based on warning from Microsoft Visual C++ 2008.
-
Henrik Stuart authored
Now using Py_ssize_t instead of long to denote offset in file whose length is already measured using Py_ssize_t. Length and offset are now consistent. Based on warning from Microsoft Visual C++ 2008.
-
Henrik Stuart authored
The returned data type for inline_scan should be Py_ssize_t rather than long. Based on warning from Microsoft Visual C++ 2008.
-
- Sep 11, 2014
-
-
Henrik Stuart authored
The passed variable is a Py_ssize_t, not a long, and consequently should use PyInt_FromSsize_t rather than PyInt-FromLong. Fixed based on warning from Microsoft Visual C++ 2008.
-
- Sep 08, 2014
-
-
Henrik Stuart authored
Normalized type usage in find_gca_candidates triggered by warning from Microsoft Visual C++ 2008.
-
- Aug 30, 2014
-
-
Pierre-Yves David authored
We are no longer trying to backup files that do not exist on disk. This check can be safely dropped.
-
Pierre-Yves David authored
Locally modified needs a backup while a deleted file cannot be backed up because there is no file to backup.
-
Pierre-Yves David authored
Such unknown files may need to be backed up. Having them identified beforehand will help simplify the backup logic. We now use different sets with different backup strategies.
-
- Aug 29, 2014
-
-
Pierre-Yves David authored
During the silicon age, humans on planet Earth discovered the use of variables. This marvelous invention let them improve both code readability and performance.
-
- Sep 10, 2014
-
-
Pierre-Yves David authored
Mistakes were made while resolving rebase conflicts in 4bc96685a40c. This led to 'date' being preserved in metadata when reading markers from a binary stream. As a result, some known markers were seen as "new" when pulling. I noticed it because a no-op pulls from main added about 600 duplicated markers to my obsstore (for each pull). I do not believe we need to perform any specific action to actively de-duplicates existing obsstore. After this fix, duplicated markers will no be propagated and the few affected repositories can probably deal with duplication (or people can repull the obsstore from a clone). As a side effect, we decode metadata only once, reducing the impact of the hack in fm0 to store extra important data (parents and date).
-
- Sep 08, 2014
-
-
Anton Shestakov authored
Objects of class _hybrid are returned by such template keywords as children, bookmarks, tags and others, and also by revset() template function. They are representing "list of strings" (as hg help template says) for use in templates. So it would be logical to implement a handy way to count the number of strings in such list, and that's what __len__ method does.
-
- Sep 05, 2014
-
-
David Soria Parra authored
-
- Sep 08, 2014
-
-
anuraggoel authored
This patch added a new functionality '--json'. While testing, if '--json' is enabled then test result data gets stored in newly created "report.json" file in the following format. testreport ={ "test-success.t": { "result": "success", "time": "2.041" } "test-failure.t": { "result": "failure", "time": "4.430" } "test-skip.t": { "result": "skip" "time": "3.754" } } Otherwise, if '--json' is enabled but json module was not installed then it will raise an error "json module not installed". This "report.json" file will further accessed by html/javascript file for graph usage.
-
- Sep 02, 2014
-
-
Sune Foldager authored
Functions like getbundle and classes like unbundle10 really manipulate changegroups and not bundles. A HG10 bundle is the same as a changegroup plus a small header, but this is no longer the case for a HG2X bundle, so it's better to separate the names a bit.
-
- Aug 18, 2014
-
-
Mads Kiilerich authored
"best" is as defined by mercurial.ancestor.ancestors: furthest from a root (as measured by longest path).
-
Mads Kiilerich authored
No Mercurial DAG has ever (!) been drawn in a way where 'up to' would apply. Instead, describe deliberatey vague and informal instead of seemingly precise but not describing the essentials: rebase the tree around the specified changeset without ancestors of dest
-