Correctly handle refs/patches on series rename
commita5f1eba2761eba8987c94bf61e0a4b7528afbb5f
authorYann Dirson <ydirson@altern.org>
Sun, 16 Apr 2006 10:52:37 +0000 (16 12:52 +0200)
committerCatalin Marinas <catalin.marinas@gmail.com>
Tue, 2 May 2006 20:28:26 +0000 (2 21:28 +0100)
treed0efd4c9e57213e5f64581922df1e24d53c5765c
parenta22a62b6760b0e1531d783e414c65ada3d1525d6
Correctly handle refs/patches on series rename

When renaming a series, the refs/patches dir was not moved, and by
chance a new one was created by the repository-upgrade code, but that
left the old one behind as cruft (which the safety checks added in a
former patch now detects).

Also adds a regression test to assert that nothing by the old name
is left behind.

Signed-off-by: Yann Dirson <ydirson@altern.org>
stgit/stack.py
t/t1001-branch-rename.sh [new file with mode: 0755]