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