shithub: regress

Download patch

ref: 8bb2d903f0145aebca3de73415cd852bdb3e1be0
parent: 071991480396986f294993a26bc866d69521b54d
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Jul 18 12:25:17 EDT 2021

cmd/git: finish renaming test.rc

oops, left the old one around.

--- a/cmd/git/test.rc
+++ /dev/null
@@ -1,56 +1,0 @@
-#!/bin/rc -e
-
-pwd=`{pwd}
-rm -fr repo
-mkdir -p repo/upstream
-
-echo version1
-
-@{cd repo/upstream
-git/init
-echo version1 > file.txt
-git/add file.txt
-git/commit -m version1 file.txt
-}
-
-@{cd repo
-git/clone $pwd/repo/upstream downstream
-}
-
-diff -c repo/upstream/file.txt repo/downstream/file.txt
-
-echo version2
-@{cd repo/upstream
-echo version2 > file.txt
-git/commit -m version2 file.txt
-}
-@{cd repo/downstream
-git/pull
-}
-diff -c repo/upstream/file.txt repo/downstream/file.txt
-
-echo version3
-@{cd repo/upstream
-echo version3 > file2.txt
-git/add file2.txt
-git/commit -m version3 file2.txt
-}
-@{cd repo/downstream
-git/pull
-}
-diff -c repo/upstream/file.txt repo/downstream/file.txt
-diff -c repo/upstream/file2.txt repo/downstream/file2.txt
-
-echo version4
-@{cd repo/upstream
-echo version4 > file.txt
-git/rm file2.txt
-git/commit -m version4 file.txt file2.txt
-}
-
-@{cd repo/downstream
-git/pull
-}
-diff -c repo/upstream/file.txt repo/downstream/file.txt
-diff -c repo/upstream/file2.txt repo/downstream/file2.txt
-