Test operations on hidden patches
authorKarl Hasselström <kha@treskal.com>
Thu, 24 Jul 2008 01:05:29 +0000 (03:05 +0200)
committerKarl Hasselström <kha@treskal.com>
Thu, 24 Jul 2008 22:03:14 +0000 (00:03 +0200)
commitcb1570e14f5e021ccd6580f207fdc6297611fc49
treeea1bc590285fb8daef902f11bbad0776ed2085b4
parentdcd2e3dae5143447dae09c2953dc6fae29a31794
Test operations on hidden patches

Previously, we didn't test this at all. Now we have some tests at
least; and, not surprisingly, a few of them fail.

The expected result of the tests are based on the following idea of
how hidden patches should work: They should behave just like unapplied
patches when named explicitly; but if not named explicitly, they
should behave as if they didn't exist. So for example, a push without
arguments should never push a hidden patch, but it should be possible
to push a hidden patch if it is named explicitly.

Signed-off-by: Karl Hasselström <kha@treskal.com>
t/t1206-push-hidden.sh [new file with mode: 0755]
t/t1701-goto-hidden.sh [new file with mode: 0755]
t/t2900-rename.sh
t/t3300-edit.sh