fix
patch
branch
task/branch-meta-update
#1 / 1
fix(branch): --intent/--resumable on existing branch updates metadata instead of erroring
Previously, passing --intent or --resumable to a branch that already existed would hit the 'already exists' guard and exit 1. Now: if intent or resumable is provided with no start_point, the command updates the stored metadata and returns action='updated'. Plain 'muse branch <existing>' with no meta flags still errors as before. 8 new tests.
sha256:9c3555c8df6ad7776230b5802776dcbca547ead3145abdf4b929f4cc269232c9
sha
+9
~1
symbols
sha256:5be06db0dea698d06e5e178ee26a615895e4a3243ec717694d095c272381365e
snapshot
+9
symbols added
~1
symbol modified
0
dead code introduced
Semantic Changes
10 symbols
~
run
+
test_intent_visible_in_listing_after_update
method
method test_intent_visible_in_listing_after_update L575–580
+
test_no_meta_flags_still_errors_on_existing
method
method test_no_meta_flags_still_errors_on_existing L613–617
+
test_resumable_visible_in_listing_after_update
method
method test_resumable_visible_in_listing_after_update L589–594
+
test_set_resumable_on_existing_branch
method
method test_set_resumable_on_existing_branch L582–587
+
test_update_does_not_overwrite_unspecified_fields
method
method test_update_does_not_overwrite_unspecified_fields L596–605
+
test_update_with_start_point_still_errors
method
method test_update_with_start_point_still_errors L607–611
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:9c3555c8df6ad7776230b5802776dcbca547ead3145abdf4b929f4cc269232c9 --body "your comment"
No comments yet. Be the first to start the discussion.