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

Nathan Goldbaum nathan12343 at gmail.com
Mon Jul 6 18:23:05 CDT 2015


# HG changeset patch
# User Nathan Goldbaum <ngoldbau at 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

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


More information about the Mercurial-devel mailing list