- Apr 16, 2016
-
-
Matt Mackall authored
-
- Apr 15, 2016
-
-
Sean Farley authored
-
Sean Farley authored
-
Sean Farley authored
-
- Apr 16, 2016
-
-
Sean Farley authored
It seems we changed our build but didn't update the docker test.
-
- Apr 15, 2016
-
-
Sean Farley authored
-
- Apr 16, 2016
-
-
Pulkit Goyal authored
check-code complains for using urllib2 so that too was fixed.
-
Pulkit Goyal authored
-
Pulkit Goyal authored
-
Pulkit Goyal authored
-
Pulkit Goyal authored
-
Pulkit Goyal authored
Fixed direct imports even the tests were not complaining.
-
Pulkit Goyal authored
Also fixed direct symbol imports even the tests were not complaining.
-
- Apr 14, 2016
-
-
timeless authored
Windows command lines use double quotes to quote arguments with spaces. This change is in a series to unify around using single quotes around commands, and double quotes around interior arguments.
-
timeless authored
Windows command lines use double quotes to quote arguments with spaces. This change is in a series to unify around using single quotes around commands, and double quotes around interior arguments.
-
timeless authored
Windows command lines use double quotes to quote arguments with spaces. This change is in a series to unify around using single quotes around commands, and double quotes around interior arguments.
-
timeless authored
Windows command lines use double quotes to quote arguments with spaces. This change is in a series to unify around using single quotes around commands, and double quotes around interior arguments.
-
- Apr 16, 2016
-
-
Gregory Szorc authored
Prevents double usage and helps reduce reference cycles, which were observed to occur in `hg convert` and other scenarios where there are multiple transactions per process.
-
Gregory Szorc authored
Post release hooks should only be called once. Setting the list to None after usage will prevent accidental usage after they are used. In addition, it is easy for reference cycles to sneak into hook functions. Clearing the hooks after usage helps prevent these cycles.
-
- Mar 27, 2016
-
-
Yuya Nishihara authored
Otherwise, scripting output could be suffered from user aliases.
-
Yuya Nishihara authored
Now template aliases are fully supported in log and formatter templates. As I said before, aliases are not expanded in map files. This avoids possible corruption of our stock styles and web templates. This behavior is undocumented since no map file nor [templates] section are documented at all. Later on, we might want to add [aliases] section to map files if it appears to be useful.
-
- Apr 03, 2016
-
-
Yuya Nishihara authored
This allows the template engine to modify parsed tree.
-
- Apr 10, 2016
-
-
Yuya Nishihara authored
This function will host loading of template aliases. It is not defined at templater, but at formatter, since formatter is the module handling ui stuff in front of templater.
-
- Apr 03, 2016
-
-
Yuya Nishihara authored
New frommapfile() function will make it clear when template aliases will be loaded. They should be applied to command arguments and templates in hgrc, but not to map files. Otherwise, our stock styles and web templates (i.e map-file templates) could be modified unintentionally. Future patches will add "aliases" argument to __init__(), but not to frommapfile().
-
Yuya Nishihara authored
Prepares for API change. See the next patch for details. 'map' variable is renamed to avoid shadowing map() function.
-
Yuya Nishihara authored
It isn't referenced from other places.
-
- Apr 04, 2016
-
-
Yuya Nishihara authored
This patch makes sure that either "tmpl" or "mapfile" is exclusively set, which is the same behavior as common log-like templates and formatter outputs. See the previous patch for why.
-
Yuya Nishihara authored
This prepares for the API change to support template aliases. I'm going to extract a factory function of templater that reads a map file: # original templater(mapfile, ..., cache, ...) # new templater.frommapfile(mapfile, ...) # read mapfile to build cache/map templater(..., cache, ...) # use specified cache (= map elements) This will make it clear to isolate stock styles (i.e. map files) from user aliases. Template aliases should be applied to command arguments and templates in hgrc, but not to map files. Otherwise, our stock styles and web templates could be modified unintentionally. This patch makes sure that either "tmpl" or "mapfile" is exclusively set. It's theoretically a behavior change, since you could put new keywords in template by defining them in a map file before: # mapfile foo = "{rev}" # hgrc [bugzilla] style = mapfile template = {foo} But the old behavior would be a bug because bugzilla.template is documented as "overrides style if specified". Also, common log-like templates and formatter doesn't allow using mapfile-keywords in a separate template. So I decided to make a BC. Since there was no test for the bugzilla extension, this adds new test that covers style/template output.
-
- Apr 16, 2016
-
-
Matt Mackall authored
Spotted by Aidar Sayfullin.
-
Pulkit Goyal authored
Replacing print statements with print function.
-
Robert Stanca authored
-
Robert Stanca authored
-
Robert Stanca authored
-
Robert Stanca authored
-
Robert Stanca authored
-
Robert Stanca authored
-
Matt Harbison authored
-
Matt Harbison authored
-
Matt Harbison authored
-