[英]SVN - working on files being committed
Is it okay to work on the files being checked in during svn commit? 可以在svn commit期间处理正在签入的文件吗? Sometimes I have seen "Svn Locked Directories" in the IDE, but not always.
有时我在IDE中看到过“ Svn锁定目录”,但并非总是如此。 As far as I understood, svn creates a copy of the files to be committed and so if I continue working on the files being committed, that wouldn't be a problem right?
据我了解,svn会创建要提交的文件的副本,因此,如果我继续处理要提交的文件,那不是问题吗? Yes, nothing wrong in waiting till the check in is done;
是的,等待签入没有错。 just curious to know.
只是想知道。 :)
:)
这取决于您使用的SVN,但是据我所知,它将一一提交。因此,如果您继续进行一项工作,那么在提交之前,这些更改也会被提交。
Just looked to SVN 1.7 code. 只是看了SVN 1.7代码。 Before commit is locks wc.db (creates a record in WC_LOCK table).
提交之前是锁定wc.db(在WC_LOCK表中创建一条记录)。 Then is sends deltas between your local files and pristine files (from .svn/pristine, ie file contents before change), taking care about keywords- and eols-backtranslation.
然后是在本地文件和原始文件之间发送增量(来自.svn / pristine,即更改前的文件内容),并注意关键字和eols的反向翻译。 And after all it unlocks wc.db (I skipped non-interesting parts of the commit process).
毕竟,它解锁了wc.db(我跳过了提交过程中不重要的部分)。
So 所以
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.