Patchwork [1,of,3,topic-experiment] tutorial: use rm instead of 'hg rm' for an untracked temporary file

login
register
mail settings
Submitter Josef 'Jeff' Sipek
Date July 9, 2017, 12:44 p.m.
Message ID <db3830646e34220cfcac.1499604272@meili>
Download mbox | patch
Permalink /patch/22155/
State Accepted
Headers show

Comments

Josef 'Jeff' Sipek - July 9, 2017, 12:44 p.m.
# HG changeset patch
# User Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
# Date 1499599224 -10800
#      Sun Jul 09 14:20:24 2017 +0300
# Branch stable
# Node ID db3830646e34220cfcac0837a33f9a8503dea5d2
# Parent  61e73c8fe169717105e832b23086683848a9ef53
tutorial: use rm instead of 'hg rm' for an untracked temporary file
Boris Feld - July 9, 2017, 4:59 p.m.
`On Sun, 2017-07-09 at 15:44 +0300, Josef 'Jeff' Sipek wrote:
> # HG changeset patch
> # User Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
> # Date 1499599224 -10800
> #      Sun Jul 09 14:20:24 2017 +0300
> # Branch stable
> # Node ID db3830646e34220cfcac0837a33f9a8503dea5d2
> # Parent  61e73c8fe169717105e832b23086683848a9ef53
> tutorial: use rm instead of 'hg rm' for an untracked temporary file
> 
queued, thank you very much for your contribution!

Patch

diff --git a/tests/test-topic-tutorial.t b/tests/test-topic-tutorial.t
--- a/tests/test-topic-tutorial.t
+++ b/tests/test-topic-tutorial.t
@@ -385,9 +385,7 @@  They are seen as independant branch by M
   $ 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