D8757: purge: classify as a "working directory management" command in help
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Wed Jul 15 20:19:19 UTC 2020
martinvonz created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
It seems to me that `hg purge` is clearly a "working directory
management" command and not a "repository management" command. The
working copy is all that's affected, after all; the repo is not
affected at all.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D8757
AFFECTED FILES
hgext/purge.py
CHANGE DETAILS
diff --git a/hgext/purge.py b/hgext/purge.py
--- a/hgext/purge.py
+++ b/hgext/purge.py
@@ -64,7 +64,7 @@
]
+ cmdutil.walkopts,
_(b'hg purge [OPTION]... [DIR]...'),
- helpcategory=command.CATEGORY_MAINTENANCE,
+ helpcategory=command.CATEGORY_WORKING_DIRECTORY,
)
def purge(ui, repo, *dirs, **opts):
'''removes files not tracked by Mercurial
To: martinvonz, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list