Mercurial > hg
comparison tests/test-help.t @ 41755:a4358f7345b4
context: introduce p[12]copies() methods and debugp[12]copies commands
As mentioned earlier, I'm working on support for storing copy metadata
in the changeset instead of in the filelog.
In order to transition a repo from storing metadata in filelogs to
storing it in the changeset, I'm going to provide a config option for
reading the metadata from the changeset, but falling back to getting
it from the filelog if it's not in the changeset. In this compatiblity
mode, the changeset-optmized algorithms will be used. We will then
need to convert the filelog copy metadata to look like that provided
by changeset copy metadata. This patch introduces methods that do just
that.
By having these methods here, we can start writing changeset-optimized
algorithms that should work already before we add any support for
storing the metadata in the changesets.
This commit also includes new debugp[12]copies commands and exercises
them in test-copies.t.
Differential Revision: https://phab.mercurial-scm.org/D5990
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 18 Jan 2019 13:13:30 -0800 |
parents | 9897e95b0b4a |
children | 496ac8a02380 a504aed0a78a |
comparison
equal
deleted
inserted
replaced
41754:d5edb5d3a337 | 41755:a4358f7345b4 |
---|---|
1009 debugobsolete | 1009 debugobsolete |
1010 create arbitrary obsolete marker | 1010 create arbitrary obsolete marker |
1011 debugoptADV (no help text available) | 1011 debugoptADV (no help text available) |
1012 debugoptDEP (no help text available) | 1012 debugoptDEP (no help text available) |
1013 debugoptEXP (no help text available) | 1013 debugoptEXP (no help text available) |
1014 debugp1copies | |
1015 dump copy information compared to p1 | |
1016 debugp2copies | |
1017 dump copy information compared to p2 | |
1014 debugpathcomplete | 1018 debugpathcomplete |
1015 complete part or all of a tracked path | 1019 complete part or all of a tracked path |
1016 debugpathcopies | 1020 debugpathcopies |
1017 show copies between two revisions | 1021 show copies between two revisions |
1018 debugpeer establish a connection to a peer repository | 1022 debugpeer establish a connection to a peer repository |