diff tests/basic.t @ 65:030b8a638ccf

History note
author Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
date Sun, 18 Dec 2016 21:16:04 +0100
parents bbd1a915b34c
children 91efe98be062
line wrap: on
line diff
--- a/tests/basic.t	Sun Dec 18 21:12:56 2016 +0100
+++ b/tests/basic.t	Sun Dec 18 21:16:04 2016 +0100
@@ -220,8 +220,17 @@
   adding br1.txt
   $ hg --cwd $BASE commit -m 'Br1'
 
-  $ hg --cwd $BASE update default
+Slightly tweaky way to update is to defeat mercurial 4.0 warning
+spuriously showing up during automated tests. It used to be
+$ hg --cwd $BASE update default
+1 files updated, 0 files merged, 1 files removed, 0 files unresolved
+
+  $ cd $BASE
+  $ pwd
+  /tmp/cramtests-*/basic.t/work/base (glob)
+  $ hg update default    # --cwd $BASE
   1 files updated, 0 files merged, 1 files removed, 0 files unresolved
+
   $ cat >> $BASE/file.txt << EOF
   > later text
   > EOF