changeset 2720:db3830646e34 stable

tutorial: use rm instead of 'hg rm' for an untracked temporary file
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Sun, 09 Jul 2017 14:20:24 +0300
parents 61e73c8fe169
children c3a29c7abbee
files tests/test-topic-tutorial.t
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-topic-tutorial.t	Thu Jul 06 23:33:28 2017 +0200
+++ b/tests/test-topic-tutorial.t	Sun Jul 09 14:20:24 2017 +0300
@@ -385,9 +385,7 @@
   $ echo 'Coat' > shopping
   $ echo 'Shoes' >> shopping
   $ cat foo >> shopping
-  $ hg rm foo
-  not removing foo: file is untracked
-  [1]
+  $ rm foo
   $ hg ci -m 'add a pair of shoes'
   $ cd ../client