branch: fix a regression (refs not being copied)
commite6faea67b39b512a54f101a39a455816c19d9f94
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Sun, 21 Sep 2008 17:31:42 +0000 (21 13:31 -0400)
committerJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Sun, 21 Sep 2008 17:36:01 +0000 (21 13:36 -0400)
tree55e383a278fcc0d66c38be3a0f99bc726978bf53
parentabfaf2819b83c0543ee3e27e273f08242958ef73
branch: fix a regression (refs not being copied)

When the status file format changes to not include the hashes of the patch
commits, branch was not updated to copy the refs/patches/$branch/* to
refs/patches/$newbranch/. This meant that after a guilt-branch, guilt got
very unhappy.

Also includes a regression test for guilt-branch.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
guilt-branch
regression/t-052.out [new file with mode: 0644]
regression/t-052.sh [new file with mode: 0755]