summaryrefslogtreecommitdiff
path: root/tests/tests/alternating-dgit
blob: c2ada5c9eebb6f215b3268d2c320e2fa46aecc8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
set -e
. tests/lib

t-setup-import examplegit
t-setup-import http-git-check

cd $p

git checkout -b nondgit
t-commit 'non-dgit upload'
t-non-dgit-upload

cd ..

t-dgit clone $p ./$p.2
cd $p.2

t-commit 'now a dgit upload again'

t-dgit -wgf push-source
t-refs-same-start
t-pushed-good dgit/sid

t-ok