File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -834,11 +834,13 @@ impl<'repo> StackTransaction<'repo> {
834
834
// The renamed patch may have been previously updated in this transaction.
835
835
// This can happen, for example, for `stg refresh`.
836
836
self . updated_patches . insert ( old_patchname. clone ( ) , None ) ;
837
- self . updated_patches . insert ( new_patchname. clone ( ) , Some ( patch_state) ) ;
837
+ self . updated_patches
838
+ . insert ( new_patchname. clone ( ) , Some ( patch_state) ) ;
838
839
} else {
839
840
let patch_state = self . stack . get_patch ( old_patchname) . clone ( ) ;
840
841
self . updated_patches . insert ( old_patchname. clone ( ) , None ) ;
841
- self . updated_patches . insert ( new_patchname. clone ( ) , Some ( patch_state) ) ;
842
+ self . updated_patches
843
+ . insert ( new_patchname. clone ( ) , Some ( patch_state) ) ;
842
844
}
843
845
844
846
self . ui . print_rename ( old_patchname, new_patchname)
You can’t perform that action at this time.
0 commit comments