##// END OF EJS Templates
repair: begin implementation of in-place upgrading...
repair: begin implementation of in-place upgrading Now that all the upgrade planning work is in place, we can start doing the real work: actually upgrading a repository. The main goal of this commit is to get the "framework" for running in-place upgrade actions in place. Rather than get too clever and low-level with regards to in-place upgrades, our strategy is to create a new, temporary repository, copy data to it, then replace the old data with the new. This allows us to reuse a lot of code in localrepo.py around store interaction, which will eventually consume the bulk of the upgrade code. But we have to start small. This patch implements adding new repository requirements. But it still sets up a temporary repository and locks it and the source repo before performing the requirements file swap. This means all the plumbing is in place to implement store copying in subsequent commits.

File last commit:

r24907:9570587b default
r30777:7de7afd8 default
Show More
map-cmdline.phases
3 lines | 248 B | text/plain | TextLexer
Yuya Nishihara
template-phases: extend default style instead of duplicating it...
r24907 %include map-cmdline.default
Jordi Gutiérrez Hermoso
log: add labels to the phase template...
r22767 changeset = '{cset}{branches}{bookmarks}{tags}{lphase}{parents}{user}{ldate}{summary}\n'
Jordi Gutiérrez Hermoso
log: show phase in hg log -v with the phase template...
r22768 changeset_verbose = '{cset}{branches}{bookmarks}{tags}{lphase}{parents}{user}{ldate}{lfiles}{lfile_copies_switch}{description}\n'