sapling/mercurial
Boris Feld 826e838aa1 upgrade: use the repository 'ui' as the base for the new repository
The `repo.baseui` contains all the configuration but the one specific to the
repository (so it can be used when dealing with local peer and sub-
repository). However, we need the repository config to be taken into account
when doing the upgrade. Otherwise, the upgrade related config that exists in
the repository config won't be taken into account when performing the update.
A buggy and surprising behavior.

We had to work around protection set around `repo.ui.copy` since we are an
uncommon case.
2017-12-07 18:55:35 +01:00
..
cext phases: drop the list with phase of each rev, always comput phase sets 2017-12-06 15:46:41 +01:00
cffi codemod: use pycompat.isdarwin 2017-10-12 23:34:34 -07:00
default.d mergetools.rc: find OSX FileMerge in the new location inside Xcode 4.3 2015-10-16 11:37:34 +02:00
help getbundle: add support for 'bookmarks' boolean argument 2017-10-17 15:27:17 +02:00
hgweb hgweb: rewrite template = A and B or C to be a proper ternary operator 2017-12-08 22:27:14 +08:00
httpclient httpclient: update to 54868ef054d2 of httpplus 2016-06-27 11:53:50 -04:00
pure codemod: use pycompat.iswindows 2017-10-12 23:30:46 -07:00
templates hgweb: move common vertex code to Graph.prototype 2017-12-06 12:10:16 +08:00
thirdparty thirdparty: move selectors2 module to where it should be 2017-11-30 22:43:03 +09:00
__init__.py thirdparty: move selectors2 module to where it should be 2017-11-30 22:43:03 +09:00
ancestor.py py3: add __bool__ to every class defining __nonzero__ 2017-03-13 12:40:14 -07:00
archival.py archive: pass thru mtime for directory archives, like other archive types do 2017-12-01 17:39:21 +11:00
bdiff.c bdiff: remove trailing newlines 2017-10-04 10:51:39 -04:00
bdiff.h bdiff: include compat.h in header to define ssize_t 2017-10-13 22:38:24 +09:00
bitmanipulation.h bitmanipulation: reformat with clang-format 2017-10-04 10:52:50 -04:00
bookmarks.py bookmark: add methods to binary encode and decode bookmark values 2017-10-15 14:59:55 +02:00
branchmap.py branchmap: remove superfluous pass statements 2017-09-30 07:42:59 -04:00
bundle2.py bundle2: add a 'modes' dictionary to the bundle operation 2017-10-17 15:39:34 +02:00
bundlerepo.py bundle2: don't use seekable bundle2 parts by default (issue5691) 2017-11-13 21:10:37 -08:00
byterange.py cleanup: use urllibcompat for renamed methods on urllib request objects 2017-10-01 12:14:21 -04:00
changegroup.py changegroup: use any node, not min(), in treemanifest's generatemanifests 2017-11-08 18:24:43 -08:00
changelog.py transaction: build changes['revs'] as range instead of a set 2017-12-08 01:23:34 +01:00
chgserver.py dispatch: replace _earlyreq*() with new fancyopts-based parser 2017-11-23 22:23:59 +09:00
cmdutil.py patch: add within-line color diff capacity 2017-10-26 00:13:38 +09:00
color.py debugformat: update label depending on value difference 2017-12-07 16:12:32 +01:00
commands.py rewriteutil: use precheck() in uncommit and amend commands 2017-11-28 05:50:45 +05:30
commandserver.py thirdparty: move selectors2 module to where it should be 2017-11-30 22:43:03 +09:00
compat.h encoding: add function to test if a str consists of ASCII characters 2017-04-23 12:59:42 +09:00
config.py config: allow remapping the default section 2017-10-14 17:41:41 +09:00
configitems.py patch: add within-line color diff capacity 2017-10-26 00:13:38 +09:00
context.py overlayworkingctx: invalidate the manifest cache when changing parents 2017-12-07 16:07:06 -08:00
copies.py copies: add a config to limit the number of candidates to check in heuristics 2017-10-10 02:25:03 +05:30
crecord.py crecord: fix revert -ir '.^' crash caused by 3649c3f2cd 2017-11-13 18:22:25 -08:00
dagop.py dagop: add smartset interface to filectxancestors() 2017-10-22 18:57:42 +09:00
dagparser.py py3: iterate bytes as a byte string in dagparser.py 2017-09-03 15:32:45 +09:00
dagutil.py setdiscover: allow to ignore part of the local graph 2017-12-06 22:44:51 +01:00
debugcommands.py debugformat: handle non-boolean value for variant 2017-12-07 16:49:24 +01:00
destutil.py show: implement "stack" view 2017-07-01 22:38:42 -07:00
dirstate.py dirstate: make map implementation overridable 2017-11-15 01:07:42 -08:00
dirstateguard.py dirstate: update backup functions to take full backup filename 2017-07-12 15:24:07 -07:00
discovery.py push: restrict common discovery to the pushed set 2017-12-06 23:33:01 +01:00
dispatch.py dispatch: replace _earlygetopt(strip=True) with new parser 2017-11-23 23:18:56 +09:00
dummycert.pem ssl: on OS X, use a dummy cert to trick Python/OpenSSL to use system CA certs 2014-09-26 02:19:48 +02:00
encoding.py py3: use 'surrogatepass' error handler to process U+DCxx transparently 2017-09-16 22:55:48 +09:00
error.py error: add InMemoryMergeConflictsError 2017-11-15 21:07:30 -08:00
exchange.py push: restrict common discovery to the pushed set 2017-12-06 23:33:01 +01:00
exewrapper.c exewrapper: format with clang-format 2017-10-04 11:04:18 -04:00
extensions.py extensions: always include traceback when extension setup fails 2017-10-17 10:31:44 -07:00
fancyopts.py fancyopts: fix handling of "--" value in earlygetopt() 2017-11-25 17:30:50 +09:00
filelog.py python3: replace sorted(<dict>.iterkeys()) with sorted(<dict>) 2017-08-22 20:06:58 -04:00
filemerge.py filemerge: raise InMemoryMergeConflictsError if we hit merge conflicts in IMM 2017-12-01 00:07:23 -08:00
fileset.py help: clarify quotes are needed for filesets.size expressions 2016-09-21 16:33:37 +00:00
formatter.py templater: load aliases from [templatealias] section in map file 2017-10-14 18:06:42 +09:00
graphmod.py log: add a "graphwidth" template variable 2017-08-15 10:15:31 -07:00
hbisect.py hbisect: use a defaultdict to avoid large allocations for a large changelogs 2017-11-23 14:13:14 -08:00
help.py internals: copy-edit "register" -> "registrar" in configitem docs 2017-11-01 13:24:08 -05:00
hg.py clone: add support for storing remotenames while cloning 2017-12-06 06:40:27 +05:30
hook.py hook: add a 'hashook' function to test for hook existence 2017-10-08 13:08:31 +02:00
httpconnection.py cleanup: use urllibcompat for renamed methods on urllib request objects 2017-10-01 12:14:21 -04:00
httppeer.py py3: use bytes in place of basestring 2017-12-01 16:53:55 +05:30
i18n.py i18n: cache translated messages per encoding 2017-10-13 21:36:10 +09:00
keepalive.py cleanup: use urllibcompat for renamed methods on urllib request objects 2017-10-01 12:14:21 -04:00
localrepo.py transaction: build changes['revs'] as range instead of a set 2017-12-08 01:23:34 +01:00
lock.py lock: allow to configure when the lock messages are displayed 2017-11-29 20:39:59 -05:00
lsprof.py lsprof: use print function 2016-01-02 11:40:53 -08:00
lsprofcalltree.py lsprofcalltree: use print function 2016-01-02 11:45:29 -08:00
mail.py py3: make sure the first argument of time.strftime() is str 2017-11-29 08:44:06 +05:30
manifest.py py3: return False early while checking whether None is a key in lazymanifest 2017-09-30 05:22:22 +05:30
match.py match: remove doc about undefined behavior of visitdir() 2017-11-30 22:32:13 +09:00
mdiff.py patch: add within-line color diff capacity 2017-10-26 00:13:38 +09:00
merge.py merge: don't check for unknown files in IMM 2017-12-07 13:20:47 -08:00
mergeutil.py checkunresolved: move to new package to help avoid import cycles 2016-11-21 21:31:45 -05:00
minirst.py python3: use our bytes-only version of cgi.escape everywhere 2017-10-05 14:16:20 -04:00
mpatch.c mpatch: switch alignment of wrapped line from tab to spaces with clang-format 2017-10-04 11:00:04 -04:00
mpatch.h mpatch: reformat function prototypes with clang-format 2017-10-04 10:56:33 -04:00
namespaces.py log: translate column labels at once (issue5750) 2017-12-02 16:29:49 +09:00
node.py node: use byte literals to construct nullid and wdirid 2016-03-12 14:04:57 -08:00
obsolete.py obsolete: drop usage of changectx in '_computecontentdivergentset' 2017-11-19 05:34:50 +01:00
obsutil.py transaction: build changes['revs'] as range instead of a set 2017-12-08 01:23:34 +01:00
parser.py doctest: use print_function and convert bytes to unicode where needed 2017-09-03 14:56:31 +09:00
patch.py patch: move part of tabsplitter logic in _inlinediff 2017-12-08 17:20:11 +09:00
pathutil.py pathutil: add doctests for canonpath() 2017-11-03 22:22:50 -04:00
peer.py peer: ensure command names are always ascii bytestrs 2017-10-15 00:05:00 -04:00
phases.py revset: use phasecache.getrevset to calculate public() 2017-12-08 14:20:34 -08:00
policy.py phases: drop the list with phase of each rev, always comput phase sets 2017-12-06 15:46:41 +01:00
posix.py codemod: use pycompat.isdarwin 2017-10-12 23:34:34 -07:00
profiling.py configitems: register the 'profiling.type' config 2017-06-30 03:44:00 +02:00
progress.py configitems: register the 'progress.format' config 2017-10-11 22:53:17 +02:00
pushkey.py pushkey: use absolute_import 2015-08-08 19:57:27 -07:00
pvec.py pvec: use absolute_import 2015-12-21 21:32:58 -08:00
pycompat.py fancyopts: use getopt.gnu_getopt() 2017-11-24 01:09:00 +09:00
rcutil.py codemod: use pycompat.iswindows 2017-10-12 23:30:46 -07:00
registrar.py docs: add args/returns docs for some cmdutil, context, and registrar functions 2017-11-16 15:01:21 -08:00
remotenames.py remotenames: consider existing data while storing newer data 2017-11-09 12:10:03 +05:30
repair.py repair: preserve phase also when not using generaldelta (issue5678) 2017-09-14 11:16:57 -07:00
repository.py repository: formalize wire protocol interface 2017-08-13 11:04:42 -07:00
repoview.py repoview: include filter name in repr for debugging 2017-12-05 21:56:48 +09:00
revlog.py sparse-read: ignore trailing empty revs in each read chunk 2017-10-18 15:28:19 +02:00
revset.py revset: use phasecache.getrevset to calculate public() 2017-12-08 14:20:34 -08:00
revsetlang.py revset: move weight information to predicate 2017-09-01 19:42:09 -07:00
rewriteutil.py rewriteutil: add a precheck function to check if revs can be rewritten 2017-11-24 03:44:50 +05:30
scmposix.py codemod: use pycompat.isdarwin 2017-10-12 23:34:34 -07:00
scmutil.py transaction: build changes['revs'] as range instead of a set 2017-12-08 01:23:34 +01:00
scmwindows.py pager: use less as a fallback on Unix 2017-04-28 20:51:14 +09:00
server.py server: drop executable bit from daemon log file 2017-10-25 21:20:01 +09:00
setdiscovery.py setdiscover: allow to ignore part of the local graph 2017-12-06 22:44:51 +01:00
similar.py similar: remove caching from the module level 2017-01-13 11:42:36 -08:00
simplemerge.py simplemerge: remove unused repo parameter 2017-09-01 10:35:43 -07:00
smartset.py py3: fix type of attribute name in smartset.py 2017-09-03 17:14:53 +09:00
sparse.py merge: add merge action 'pr' to rename files during update 2017-10-02 14:05:30 -07:00
sshpeer.py sshpeer: add a configurable hint for the ssh error message 2017-11-20 01:40:26 -08:00
sshserver.py style: never put multiple statements on one line 2017-09-29 15:49:20 +00:00
sslutil.py configitems: register the 'hostsecurity.*:fingerprints' config 2017-10-14 00:29:31 +02:00
statichttprepo.py repoview: extract a factory function of proxy class 2017-12-05 21:50:33 +09:00
statprof.py statprof: require input file 2017-01-18 22:45:07 -08:00
store.py py3: iterate bytes as a byte string in store.lowerencode() 2017-09-03 17:28:47 +09:00
streamclone.py codemod: register core configitems using a script 2017-07-14 14:22:40 -07:00
subrepo.py merge with stable 2017-11-30 15:48:42 -05:00
tagmerge.py tagmerge: use workingfilectx to write merged tags 2017-07-11 16:48:15 -07:00
tags.py cachevfs: migration the tags fnode cache to 'cachevfs' 2017-07-15 23:30:25 +02:00
templatefilters.py templatefilters: defend against evil unicode strs in json filter 2017-10-16 22:44:43 -04:00
templatekw.py log: translate column labels at once (issue5750) 2017-12-02 16:29:49 +09:00
templater.py obsfate: makes successorsetverb takes the markers as argument 2017-10-19 12:35:47 +02:00
transaction.py util: add base class for transactional context managers 2017-07-28 22:42:10 -07:00
treediscovery.py error: get Abort from 'error' instead of 'util' 2015-10-08 12:55:45 -07:00
txnutil.py
ui.py ui: add diff.showfunc to tweakdefaults 2017-12-06 16:43:07 -05:00
unionrepo.py revlog: update signature of dummy addgroup() in bundlerepo and unionrepo 2017-09-15 23:58:45 +09:00
upgrade.py upgrade: use the repository 'ui' as the base for the new repository 2017-12-07 18:55:35 +01:00
url.py url: add cgi.escape equivalent for bytestrings 2017-10-14 02:57:26 -04:00
urllibcompat.py urllibcompat: move some adapters from pycompat to urllibcompat 2017-10-04 11:58:00 -04:00
util.py py3: add b'' to regular expressions which are raw strings 2017-11-29 04:47:27 +05:30
verify.py codemod: register core configitems using a script 2017-07-14 14:22:40 -07:00
vfs.py codemod: use pycompat.iswindows 2017-10-12 23:30:46 -07:00
win32.py win32: work around a WinError problem handling HRESULT types 2017-03-30 00:33:00 -04:00
windows.py ssh: quote parameters using shellquote (SEC) 2017-08-04 23:54:12 -07:00
wireproto.py getbundle: add support for 'bookmarks' boolean argument 2017-10-17 15:27:17 +02:00
worker.py codemod: use pycompat.iswindows 2017-10-12 23:30:46 -07:00