refactor(VCS)!: moves over to sync style -- WIP/unstable

This commit is contained in:
Lewis Wynne 2025-12-19 16:11:58 +00:00
parent 1bd862e5e0
commit 9c82ee70d4
7 changed files with 282 additions and 287 deletions

View file

@ -142,8 +142,7 @@ func mv(cmd *cobra.Command, args []string) error {
}
if copy {
msg := fmt.Sprintf("cp %s -> %s", fromSpec.Display(), toSpec.Display())
return autoCommit(store, []string{fromSpec.DB, toSpec.DB}, msg)
return autoSync()
}
if err := store.Transaction(TransactionArgs{
@ -157,8 +156,7 @@ func mv(cmd *cobra.Command, args []string) error {
return err
}
msg := fmt.Sprintf("mv %s -> %s", fromSpec.Display(), toSpec.Display())
return autoCommit(store, []string{fromSpec.DB, toSpec.DB}, msg)
return autoSync()
}
var (