phases: move phase according what was pushed not only what was added added
This fix the lack phase movement when a locally secret changeset without added
children was pushed to the repository. In such case, this changeset would be
present in the bundle source, but not in the ``added`` variable.
revlog: make addgroup returns a list of node contained in the added source
This list will contains any node see in the source, not only the added one.
This is intended to allow phase to be move according what was pushed by client
not only what was added.
phases: make secret changeset undiscoverable in all case
This apply the redefined stronger semantic of secret.
Secret changeset can still leak in various way. Those leak will need to be fixed individualy
phases: exclude secret when doing a local clone
This is achieved by denying copy clone when any secret changeset exist.
bookmarks: primarily use repo lock, not wlock
Bookmarks are repository data, not working directory data. Only the current
bookmark is working directory data.
Some lock shuffling is required to avoid lockout between the initial mock lock
and locking of the localrepo instance that is created after copying.
localrepo: update branchcache in a more reliable way
test-mq-cache.t did apparently look at stale cache content.
Testing with different locking mechanism happened to update the cache more
frequently and thus caused a test failure.
tests: make qnew in test-mq-caches.t stable
The unstable hashes did for other reasons not show up in the test output.
localrepo: remove spurious updatebranchcache return value
- it was left over from the refactoring in
d01e28657429.
mq: remove early wlock release in qnew
It seems like something that missed the refactoring in
97b734fb9c6f.