When does svn BASE become equal to the HEAD

后端 未结 4 828
悲&欢浪女
悲&欢浪女 2020-12-23 17:36

I had a question regarding the BASE version in svn. I know it is the pristine version of an item from the last time update was run and svn diff and status basically run agai

4条回答
  •  长情又很酷
    2020-12-23 17:57

    Theory: After a successfull recursive update or switch the base version of all your files becomes head. After a commit or partial update some files might be at the HEAD revision, but only after an update that didn't skip files you can be sure that all files are at the same version. (Reasons for skipping are unversioned obstructions or conflicts).

    But, why would you need to know this. Subversion should know this internally, but this knowledge shouldn't really matter to the user in most cases. (Subversion automatically warns you when files are out of date).

    As far as I can tell, the only time you really need to make sure that you are at a stable version is, when you are creating a branch from a working copy.

提交回复
热议问题