This was entirely broken, and only works because (a) $vtag^1 does not
exist, and (b) this is erroneously not spotted by t-ref-same-*.
Instead check that the suite branch has the tag (of the package which
has been moved into that suite) as a direct ancestor.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
git diff $vtag
t-refs-same refs/remotes/dgit/dgit/stable
t-ref-head
+ t-has-parent HEAD $vtag
}
copy-check () {
cd $p
t-refs-same-start
- t-ref-same $vtag^1
-
t-dgit fetch stable
git merge --ff-only dgit/dgit/stable