Patchwork D8757: purge: classify as a "working directory management" command in help

login
register
mail settings
Submitter phabricator
Date July 15, 2020, 8:19 p.m.
Message ID <differential-rev-PHID-DREV-hswvdgybarw2sz466gui-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/46758/
State Superseded
Headers show

Comments

phabricator - July 15, 2020, 8:19 p.m.
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




To: martinvonz, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

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