Patchwork [STABLE] forget: add a note to the command help about remove

login
register
mail settings
Submitter Nathan Goldbaum
Date July 6, 2015, 11:23 p.m.
Message ID <8dd0b23161bf7e8d1162.1436224985@ROUS>
Download mbox | patch
Permalink /patch/9903/
State Accepted
Headers show

Comments

Nathan Goldbaum - July 6, 2015, 11:23 p.m.
# HG changeset patch
# User Nathan Goldbaum <ngoldbau@ucsc.edu>
# Date 1436224977 25200
#      Mon Jul 06 16:22:57 2015 -0700
# Branch stable
# Node ID 8dd0b23161bf7e8d1162e4863620f6b1208f1584
# Parent  34e6643f0c62c2fbcae36cfd01a256dd603ca9a4
forget: add a note to the command help about remove
Matt Mackall - July 7, 2015, 6:54 p.m.
On Mon, 2015-07-06 at 16:23 -0700, Nathan Goldbaum wrote:
> # HG changeset patch
> # User Nathan Goldbaum <ngoldbau@ucsc.edu>
> # Date 1436224977 25200
> #      Mon Jul 06 16:22:57 2015 -0700
> # Branch stable
> # Node ID 8dd0b23161bf7e8d1162e4863620f6b1208f1584
> # Parent  34e6643f0c62c2fbcae36cfd01a256dd603ca9a4
> forget: add a note to the command help about remove

Queued for stable, thanks.

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -3332,6 +3332,8 @@  def forget(ui, repo, *pats, **opts):
     entire project history, and it does not delete them from the
     working directory.
 
+    To delete the file from the working directory, see :hg:`remove`.
+
     To undo a forget before the next commit, see :hg:`add`.
 
     .. container:: verbose