vcs: Mention hg remove command.
authorPuneeth Chaganti <punchagan@fossee.in>
Sun, 30 Jan 2011 20:12:46 +0530
changeset 143 fde473906aac
parent 142 3b1c7aa6f807
child 144 c592f2304cff
vcs: Mention hg remove command. I was mistaken that everything could be done with the hg add command alone. But apparently hg remove command is necessary.
versionControl/handOut.rst
versionControl/vcs.tex
--- a/versionControl/handOut.rst	Sun Jan 30 12:09:47 2011 +0530
+++ b/versionControl/handOut.rst	Sun Jan 30 20:12:46 2011 +0530
@@ -212,6 +212,10 @@
     adding chapter1.txt
 
 
+*Note*: If you have deleted files, ``hg status`` will show you the status
+ code ``!``. You can then, tell ``hg`` to stop tracking these files, using
+ the ``hg remove`` command. Look at ``hg help remove`` for more details. 
+
 Taking Snapshots
 ----------------
 
--- a/versionControl/vcs.tex	Sun Jan 30 12:09:47 2011 +0530
+++ b/versionControl/vcs.tex	Sun Jan 30 20:12:46 2011 +0530
@@ -221,7 +221,10 @@
   \item From \typ{hg status} we know, none of the files are being
     tracked, yet. 
   \item \typ{hg add} --- asking \typ{hg} to track these files
-  \item As expected \typ{hg status} prepends an \typ{A} to the file names.
+  \item As expected \typ{hg status} prepends an \typ{A} to the file
+  names.
+  \item \typ{? --> A} 
+  \item \typ{! --> R} (\typ{hg remove})
   \end{itemize}
 \end{frame}