- May 14, 2015
-
-
Gilles Moris authored
The number of draft and secret changesets are currently not summarized. This is an important information because the number of drafts give some rough idea of the number of outgoing changesets in typical workflows, without needing to probe a remote repository. And a non-zero number of secrets means that those changeset will not be pushed. If the repository is "dirty" - some draft or secret changesets exists - then summary will display a line like: phases: X draft, Y secret (public) The phase in parenthesis corresponds to the highest phase of the parents of the working directory, i.e. the current phase. By default, the line is not printed if the repository is "clean" - all changesets are public - but if verbose is activated, it will display: phases: (public) On the other hand, nothing will be printed if quiet is in action. A few tests have been added in test-phases.t to cover the -v and -q cases.
-
- May 15, 2015
-
-
Anton Shestakov authored
There already are branches and tags in file log, now let's add what's been missing: bookmarks. Also, since coal borrows this template from paper, this change is effective for coal as well.
-
Anton Shestakov authored
Displaying branches, tags and bookmarks is an obviously important feature of hgweb and should be tested a bit more than not at all, so let's add a branch, a tag and a bookmark to the test. With this change it's evident that the default style (paper) doesn't show bookmarks in filelog. Future patch will fix this.
-
- May 14, 2015
-
-
Anton Shestakov authored
This will ease future patches for the templates. As a result of this patch, paper style has one visual change in log/shortlog/file log view: the spacing between commit message and the first tag (or branch name, or bookmark) is now roughly who spaces wide instead of one space wide. This spacing is consistent with the one between branch names/tags/bookmarks themselves, so it looks better. In gitweb style, the change from non-breakable space to regular space is consistent with other elements. In monoblue the change is not noticeable.
-
- May 13, 2015
-
-
Augie Fackler authored
While in the throes of a recent run-tests adventure, I found it useful to have profiler output for the testrunner itself. Adding it was simple enough and seems worth keeping around.
-
- May 15, 2015
-
-
Gilles Moris authored
This is obsolete now that Python < 2.6 is no more supported. This is thus a backout of c499fff76440.
-
Yuya Nishihara authored
The infix 'only' operator is mapped to 'only()' function by optimize(), so it won't be looked up as a method. The test shows it.
-
- Apr 14, 2015
-
-
Tony Tung authored
It's annoying having to specify --list and --patch/--stat when all you really want to do is to dump a patch. This creates an explicit --patch/--stat command that is executed if --list is not specified. It ensures that 1) there is only one shelf name specified and 2) that the shelf exists. Then it redirects to the original listcmd code.
-
Tony Tung authored
This will allow us to have --patch and --stat as standalone operations that don't require --list, as well as pairing them with --list.
-
- May 15, 2015
-
-
Matt Mackall authored
-
Tony Tung authored
After a rebase --abort, we attempt to restore the previously active bookmark. We need to ensure that the bookmark still exists.
-
- Apr 14, 2015
-
-
Ryan McElroy authored
Today, the terms 'active' and 'current' are interchangeably used throughout the codebase in reference to the active bookmark (the bookmark that will be updated with the next commit). This leads to confusion among developers and users. This patch is part of a series to standardize the usage to 'active' throughout the mercurial codebase and user interface.
-
- May 15, 2015
-
-
Tony Tung authored
-
- May 08, 2015
-
-
Pierre-Yves David authored
This is useful information to understand what is taking time in tests. Both are included because I can see myself sorting this output using shell script. Having both data makes it much easier than extracting 'start'+'real'.
-
Pierre-Yves David authored
We currently have information about how long each test took, but we have no data about their actual scheduling. So we now track when a test started and stopped (in the referential of the whole tests run) to expose this information. The data is currently in the json only because the json output is meant to be extensible. Later changeset will includes this data in the text output and we will be happy to bikeshed its formating there. Yes, "end" is actually just "start" + "time", but computing it an including it in the output is simple, cheap and convenient.
-
- May 15, 2015
-
-
Jordi Gutiérrez Hermoso authored
This will allow %include statements to search the default template paths in addition to the directory where the %including file is.
-
Jordi Gutiérrez Hermoso authored
It is desirable to "derive" templates from the provided templates. A simple way to do this is e.g. %include map-cmdline.default in your own mapfile. Then you only have to redefine a few templates instead of copying over the whole thing. This %include mechanism already works for the built-in templates because by default it *only* looks for files that are in the same directory as the including mapfile. With this changeset, config grows an option to add more include paths for config files.
-
Yuya Nishihara authored
Instead of keeping 'onlypost' as a method, this patch rewrites it to 'only' function. This way, 'x%' always has the same weight as 'only(x)'.
-
- May 08, 2015
-
-
Martin von Zweigbergk authored
The callers already have the C string, and although the PyString_AS_STRING() macro is probably free, this simplifies the code.
-
Martin von Zweigbergk authored
The PyString_AS_STRING() macro is probably free, but this makes _delpath() more similar to _addpath() and simplifies the next patch.
-
- Apr 14, 2015
-
-
Martin von Zweigbergk authored
With this change, when tree manifests are enabled (in .hg/requires), commits will be written with one manifest revlog per directory. The manifest revlogs are stored in .hg/store/meta/$dir/00manifest.[id]. Flat manifests can still be read and interacted with as usual (they are also read into treemanifest instances). The functionality for writing treemanifest as a flat manifest to disk is still left in the code; tests still pass with '_treeinmem=True' hardcoded. Exchange is not yet implemented.
-
- May 15, 2015
-
-
Matt Mackall authored
-
Matt Mackall authored
This will raise a syntax error for people who attempt to use Py2.4, but that's already going to fail and we have no way to keep other 2.6isms from creeping in since we've removed the check-code rules and the buildbot.
-
Matt Mackall authored
-
Matt Mackall authored
-
Matt Mackall authored
-
Matt Mackall authored
-
Matt Mackall authored
-
Matt Mackall authored
-
Matt Mackall authored
-
Matt Mackall authored
-
Matt Mackall authored
-
Matt Mackall authored
-
Matt Mackall authored
-
Matt Mackall authored
-
- May 14, 2015
-
-
Adrian Buehlmann authored
see e1fb276d4619
-
Matt Mackall authored
-
Adrian Buehlmann authored
-
Adrian Buehlmann authored
-
Adrian Buehlmann authored
see e1fb276d4619
-