Android的工作室:Subversion的文件被标记为未版本化 [英] Android Studio: Subversion files are marked as unversioned
问题描述
我已经加入我的Android Studio项目到颠覆。当我去改变,我所有的文件都在版本的文件中。我试图从Subversion开放选择从版本控制签出,但即使这样做后,我结束了所有文件标记为未版本控制。
I have added my Android Studio project to Subversion. When I go to changes, all of my files are listed under "Unversioned Files". I have tried opening from Subversion by selecting "Check out from Version Control", but even after doing this I ended up with all files marked as Unversioned.
如果我尝试添加这些文件,我得到以下错误:
错误:无法找到文件CVSROOT ...
If I try to add those files, I get the following error: Error:Cannot find CVSROOT for file ...
如何让Android Studio中正常使用SVN工作?
How do I get Android Studio to properly work with SVN?
推荐答案
啊,这实在是愚蠢的,但带我永远找出来。默认情况下,Android的工作室似乎挑CVS作为版本控制项目,尽管我在外面从Subversion检查项目!臭虫,AFAIK。
Ah, this is really silly, but took me forever to find out. By default, Android Studio seems to pick CVS as the version control for the project, even though I was checking the project out from Subversion! Bug, AFAIK.
下面是修复:
- 文件|设置
- 在左侧的项目设置,选择版本控制
- 在右侧选择颠覆从下拉列表旁边的目录(VCS栏)
问题解决了!
这篇关于Android的工作室:Subversion的文件被标记为未版本化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!