AnkhSVN 中的待定更改仅显示当前解决方案中的文件
我在一个存储库下工作,并且主要在一个解决方案中工作。 然而,在解决方案的工作过程中,我也更改了其他文件,但是,当我提交时,AnkhSVN 仅显示属于解决方案的文件。这迫使我使用 TortoiseSVN 对整个目录进行提交,这又会丢失我用 AnkhSVN 添加的一些文件。
最简单的解决方案是 AnkhSVN 向我显示存储库的所有待处理更改。更糟糕的选择是 AnkhSVN 标记添加的文件,以便 TortoiseSVN 在进行提交时也能意识到它们。
有人知道这些问题的解决方案吗?
谢谢!
I'm working under a single repository and mostly in one solution.
However, during the work on the solution I do change other files as well, when I come to commit, however, AnkhSVN only shows the files that are part of the solution. That forces me to use TortoiseSVN to do the commit on the whole directory, which in turn misses some of the files that I added with AnkhSVN.
The simplest solution to this would be if AnkhSVN showed me ALL the pending changes for the repository. A worse alternative would be if AnkhSVN flagged added files so that TortoiseSVN would be also aware to them when doing commit from it.
Anyone knows a solution to these issues?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以设置一个选项,以便在创建新文件时自动添加文件,该文件应通过转到“工具”->“版本控制”来进行版本控制。选项->源代码控制 ->颠覆环境。此处选择“直接将新文件添加到 Subversion”。
使“新”文件“添加”的另一个替代方法是“应用到工作副本”命令,可通过“待更改”窗口中“提交”按钮旁边的下拉菜单使用。
You can set an option to auto add files when new files are created that should be versioned by going to Tools -> Options -> Source Control -> Subversion Environment. Select "Directly add new files to Subversion" here.
Another alternative to make "New" files "Added" is the "Apply to Working Copy" command, available through the drop down next to the Commit button in the Pending Changes window.
在 TortoiseSVN 中,提交对话框中有一个复选框“显示未版本控制的项目”。如果选中该框,还会显示尚未添加的文件。
In TortoiseSVN, there's a checkbox in the commit dialog "show unversioned items". If you check that box, the files that are not added yet are shown as well.
您可以右键单击 svn 文件夹,然后选择 TortoiseSVN-->Add ,将显示所有不包含在监管范围内的项目。
检查屏幕截图
You can right click the svn folder then TortoiseSVN-->Add , will show all the items which is not included for supervision.
check the screen shot