Skip to content

Fix "stg branch --delete"

Karl Hasselström git 1 version New

Get series with b4
b4 am 20070922084334.29884.60506.stgit@yoghurt

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Don't special-case the "master" branch during branch deletestgit/commands/branch.py+2 -90 replies
2/4Don't try to delete the branch twicestgit/commands/branch.py+0 -10 replies
3/4Properly remove all config for a deleted branchstgit/config.py stgit/stack.py+9 -70 replies
4/4Add simple test for "stg branch --delete"t/t1005-branch-delete.sh+29 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [StGit PATCH 0/4] Fix "stg branch --delete"

This fixes the two issues Aneesh reported (failed branch deletion, leftover config stuff), and adds a test. The test is added after the fixes this time, so the test suite passes at every step.

Also available from

git://repo.or.cz/stgit/kha.git safe

---

Karl Hasselström (4):
Add simple test for "stg branch --delete" Properly remove all config for a deleted branch Don't try to delete the branch twice
Don't special-case the "master" branch during branch delete

 stgit/commands/branch.py |   10 +---------
 stgit/config.py          |    7 +++++++
 stgit/stack.py           |    9 ++-------
 t/t1005-branch-delete.sh |   29 +++++++++++++++++++++++++++++
 4 files changed, 39 insertions(+), 16 deletions(-)
 create mode 100755 t/t1005-branch-delete.sh
Signature · 2 lines
Karl Hasselström, [email protected]
      www.treskal.com/kalle