gpt4 book ai didi

svn - Subversion 提交是原子的吗?

转载 作者:行者123 更新时间:2023-12-05 04:09:18 25 4
gpt4 key购买 nike

提交是由 Subversion 原子执行的吗?

如果提交失败会怎样?

是否有一些文件提交成功而一些失败?如果是这样,我该怎么做才能回到正确的状态?

最佳答案

是的,提交是原子的——这里是 citation from "The Subversion book" :

A Subversion client commits (that is, communicates the changes made to) any number of files and directories as a single atomic transaction. By atomic transaction, we mean simply this: either all of the changes are accepted into the repository, or none of them is. Subversion tries to retain this atomicity in the face of program crashes, system crashes, network problems, and other users' actions.

关于svn - Subversion 提交是原子的吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46234336/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com