chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
changelog: Document nominal distro syntax restriction
[dgit.git]
/
tests
/
tests
/
overwrite-version
1
#!/bin/bash
2
set -e
3
. tests/lib
4
5
t-setup-import examplegit
6
7
cd example
8
9
suite=stable
10
11
t-commit 'No changes, just send to stable' '' stable
12
13
t-dgit -wgf build
14
15
t-expect-fail 'HEAD is not a descendant' \
16
t-dgit push stable
17
18
t-dgit push --overwrite=1.2 stable
19
20
t-ok