From a4d8098b229592db40565747b0444b518bf8a6eb Mon Sep 17 00:00:00 2001 From: Richard Ipsum Date: Tue, 16 Jun 2015 18:25:27 +0100 Subject: Remove foreach command We're beginning a transition away from workspaces, foreach in particular is possibly one of the least used commands, and is only mentioned in tutorials explicitly marked as 'old'. Change-Id: I2c95ce689bb5550bf50feb6b55be6c58671c4c4a --- .../foreach-handles-command-failure.script | 27 ---------------------- 1 file changed, 27 deletions(-) delete mode 100755 tests.branching/foreach-handles-command-failure.script (limited to 'tests.branching/foreach-handles-command-failure.script') diff --git a/tests.branching/foreach-handles-command-failure.script b/tests.branching/foreach-handles-command-failure.script deleted file mode 100755 index 09674c03..00000000 --- a/tests.branching/foreach-handles-command-failure.script +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -# -# Copyright (C) 2012-2015 Codethink Limited -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program. If not, see . - - -## Verify that "morph foreach" deals with failure in a grown-up way - -set -eu - -cd "$DATADIR/workspace" -"$SRCDIR/scripts/test-morph" init -"$SRCDIR/scripts/test-morph" checkout test:morphs master -"$SRCDIR/scripts/test-morph" edit hello - -"$SRCDIR/scripts/test-morph" foreach git remote update non-existant-remote -- cgit v1.2.1