From 91c2f6a9e45c11cacb213a75d70125ce4cf8dc73 Mon Sep 17 00:00:00 2001 From: Richard Ipsum Date: Sat, 21 Nov 2015 11:53:04 +0000 Subject: yarns: Remove unused edit implementations These must have been missed when we removed the edit command. Change-Id: Ia0eca7eab50dec34f2e02193d3ff676b0e78b33c --- yarns/implementations.yarn | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'yarns') diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn index 9f23107b..1aa4c088 100644 --- a/yarns/implementations.yarn +++ b/yarns/implementations.yarn @@ -552,34 +552,6 @@ We can create a new branch, off master. if [ $MATCH_1 == "creates" ]; then run_morph "$@" else attempt_morph "$@"; fi -Editing morphologies with `morph edit`. - - IMPLEMENTS THEN in branch (\S+), stratum (\S+) refs (\S+) in (\S+) - "$SRCDIR/scripts/yaml-extract" \ - "$DATADIR/workspace/$MATCH_1/test/morphs/$MATCH_2" \ - chunks name="$MATCH_3" ref > "$DATADIR/ref.actual" - echo "$MATCH_4" > "$DATADIR/ref.wanted" - diff -u "$DATADIR/ref.wanted" "$DATADIR/ref.actual" - - IMPLEMENTS THEN in branch (\S+), (system|stratum) (\S+) refers to (\S+) without (\S+) - if [ $MATCH_2 == system ]; then field=strata; else field=build-depends; fi - "$SRCDIR/scripts/yaml-extract" \ - "$DATADIR/workspace/$MATCH_1/test/morphs/$MATCH_3" \ - "$field" name="$MATCH_4" "$MATCH_5" 2>&1 | - grep -qFe "Object does not contain $MATCH_5" - - IMPLEMENTS WHEN the user edits the chunk (\S+) in branch (\S+) - cd "$DATADIR/workspace/$MATCH_2/test/morphs" - run_morph edit "$MATCH_1" - - IMPLEMENTS THEN the edited chunk (\S+) has git branch (\S+) - ls -l "$DATADIR/workspace/$MATCH_2" - chunkdir="$(slashify_colons "$MATCH_1")" - cd "$DATADIR/workspace/$MATCH_2/$chunkdir" - git rev-parse --abbrev-ref HEAD > "$DATADIR/git-branch.actual" - echo "$MATCH_2" > "$DATADIR/git-branch.wanted" - diff -u "$DATADIR/git-branch.wanted" "$DATADIR/git-branch.actual" - Cloning chunk repos with `morph get-repo`. IMPLEMENTS WHEN the user gets the repo for chunk (\S+) in branch (\S+) -- cgit v1.2.1