chiark / gitweb /
d07d65a0d80cf8f9e4d1ecdc81a58d56d3cab5a2
[dgit.git] / tests / tests / forcesplit-overwrite
1 #!/bin/bash
2 set -e
3 . tests/lib
4
5 # This tests a native package with split view, including that the
6 # pseudomerges end up in the right place.
7
8 t-setup-import examplegit
9
10 t-select-package example
11 cd example
12
13 suite=stable
14
15 t-commit 'No changes, just send to stable' '' stable
16
17 t-refs-same-start
18 t-ref-head
19
20 t-dgit -wgf --split-view --overwrite=1.2 --dgit-view-save=split.p push-source stable
21 git branch -f split.b split.p
22
23 t-ref-head
24 t-split-unchanged-pushed-good $suite
25
26 t-ok