test: drop useless --update flag in issue1502 tests
authorPierre-Yves David <pierre-yves.david@fb.com>
Wed, 03 Feb 2016 15:21:11 +0000
changeset 28064 9e0535da20a5
parent 28063 0b912c9f5eaf
child 28065 6b1fc09c699a
test: drop useless --update flag in issue1502 tests The --update is unrelated to the test and has no effect as it fails anyway. Dropping it reduces the noise in the coming change in default destination for update.
tests/test-issue1502.t
--- a/tests/test-issue1502.t	Thu Feb 11 13:50:38 2016 +0000
+++ b/tests/test-issue1502.t	Wed Feb 03 15:21:11 2016 +0000
@@ -12,16 +12,14 @@
 
   $ echo "bar" > foo1/a && hg -R foo1 commit -m "edit a in foo1"
   $ echo "hi" > foo/a && hg -R foo commit -m "edited a foo"
-  $ hg -R foo1 pull -u
+  $ hg -R foo1 pull
   pulling from $TESTTMP/foo (glob)
   searching for changes
   adding changesets
   adding manifests
   adding file changes
   added 1 changesets with 1 changes to 1 files (+1 heads)
-  abort: not updating: not a linear update
-  (merge or update --check to force update)
-  [255]
+  (run 'hg heads' to see heads, 'hg merge' to merge)
 
   $ hg -R foo1 book branchy
   $ hg -R foo1 book