From b657fbcab062073ff4dd1c69a72b252e4992e152 Mon Sep 17 00:00:00 2001 From: Jannis Pohlmann Date: Wed, 29 Aug 2012 14:46:35 +0000 Subject: Add mandatory repository parameter to "morph branch" This is complementary to adding a repository parameter to the "morph checkout" command. It allows to branch off arbitrary repositories rather than always branching off baserock:morphs. All affected tests are updated to provide and work with this new parameter. --- tests.branching/show-system-branch-fails-outside-workspace.script | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests.branching/show-system-branch-fails-outside-workspace.script') diff --git a/tests.branching/show-system-branch-fails-outside-workspace.script b/tests.branching/show-system-branch-fails-outside-workspace.script index fc3f3db3..5cd3bb98 100755 --- a/tests.branching/show-system-branch-fails-outside-workspace.script +++ b/tests.branching/show-system-branch-fails-outside-workspace.script @@ -15,8 +15,8 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# Check that 'morph show-system-branch' shows the name of the current system -# branch correctly. +# Check that 'morph show-system-branch' fails when being run +# outside a workspace. set -eu @@ -24,7 +24,7 @@ set -eu # Create a workspace and branch. cd "$DATADIR/workspace" "$SRCDIR/scripts/test-morph" init -"$SRCDIR/scripts/test-morph" branch testbranch +"$SRCDIR/scripts/test-morph" branch baserock:morphs testbranch # Leave the workspace. cd .. -- cgit v1.2.1