forget: fix subrepo recursion for explicit path handling
When support for handling explicit paths in subrepos was added to the forget
command (
95174c381525), subrepo recursion wasn't taken into account. This
change fixes that by pulling the majority of the logic of commands.forget into
cmdutil.forget, which can then be called from both there and subrepo.forget.
add: fix subrepo recursion for explicit path handling
When support for handling explicit paths in subrepos was added to the add
command (
9e99d2bbb1b1), subrepo recursion wasn't taken into account. This
change adds an explicitonly argument to cmdutil.add to allow controlling which
levels of recursion should include only explicit paths versus all matched
paths.
tests: add subrepo recursion tests for add/forget with explicit paths
When support for handling add/forget of explicit paths within subrepos was
added (
9e99d2bbb1b1/
95174c381525), nested subrepos weren't handled properly.
This change adds test coverage to expose the broken behavior, which will be
fixed in later patches.
bookmarks: backout locking change in
12dea4d998ec
Repo lock only applies to data in .hg/store/
changeset_printer: display changeset phase on debug level
Backward compatibility make it hard to display it on higher level
phase: report phase movement
When used in "set" mode, the phase command now display the number of changeset
who changed phase.
rebase: write series file without removed mq patches
Rebase will remove empty changesets and will also completely remove the mq
patch file for rebased empty patches.
Starting with
b28004513977 (1.9) it would preserve guards by writing the old
series file back. That would however also reintroduce removed patch files in
the series file and the inconsistency would make qpop + qpush fail.
This patch backs out most of
b28004513977 and makes sure guards are preserved
without reintroducing removed patches.
largefiles: remove empty directories upon update (
issue3202)