summaryrefslogtreecommitdiff
path: root/yarns/implementations.yarn
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2013-09-26 11:20:34 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2013-09-26 11:21:09 +0000
commit151050c5b15e83cbfc6ac9fcd786dcb957022185 (patch)
treec3da24c1a3d3b2f2f76fb7c012cd7149d8729262 /yarns/implementations.yarn
parent6a216934edb2423c9aa347329ea029041927a413 (diff)
downloadmorph-151050c5b15e83cbfc6ac9fcd786dcb957022185.tar.gz
Make branch commands work with null refs
Diffstat (limited to 'yarns/implementations.yarn')
-rw-r--r--yarns/implementations.yarn12
1 files changed, 12 insertions, 0 deletions
diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn
index cfb744f7..e35e4219 100644
--- a/yarns/implementations.yarn
+++ b/yarns/implementations.yarn
@@ -114,6 +114,18 @@ another to hold a chunk.
repo-alias = test=file://$DATADIR/gits/%s#file://$DATADIR/gits/%s
EOF
+Morphologies need to support having a null ref, which means look for the
+stratum in the same repository and ref. Testing this requires different
+morphologies.
+
+ IMPLEMENTS GIVEN null refs for local strata
+ nullify_local_refs test:morphs master \
+ "$DATADIR/gits/morphs/test-system.morph" \
+ "$DATADIR/gits/morphs/test-stratum.morph"
+ run_in "$DATADIR/gits/morphs" git add .
+ run_in "$DATADIR/gits/morphs" git commit -m "Use null refs."
+
+
Implementation sections for system branch operations
----------------------------------------------------