svn

Android Studio: Subversion files are marked as unversioned

强颜欢笑 提交于 2019-12-20 02:22:35
问题 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. If I try to add those files, I get the following error: Error:Cannot find CVSROOT for file ... How do I get Android Studio to properly work with SVN? 回答1: Ah, this is really silly, but took me forever to find

批量删除.svn文件

烂漫一生 提交于 2019-12-20 02:16:21
使用svn的朋友可能也会发现删除svn项目下的.svn隐藏文件是一件非常麻烦的事情,从网上查询有这种方法 建立一个文本文件,随意起个名字,例如aaa.reg(扩展名由txt改为reg,可以在txt编辑的时候点另存为…类型所有、文件名aaa.reg、保存即可),内容如下: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN] @="Delete SVN Folders" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN\command] @="cmd.exe /c \"TITLE Removing SVN Folders in %1 && COLOR 9A && FOR /r \"%1\" %%f IN (.svn) DO RD /s /q \"%%f\" \"" 保存之后,双击这个reg文件,会提示是否允许添加到注册表,确定并提示成功后,在每一个文件夹上点击右键都会有一个“Delete SVN Folders”的选项,点击就可以删除这个文件夹及子目录里面所有的.svn文件了 如果想卸载用以下方法: 运行 regedit 进入注册表-> 依次打开:HKEY_LOCAL

Setup JetBrains YouTrack to connect to SVN

别来无恙 提交于 2019-12-20 01:59:15
问题 I realize that TeamCity must be a bridge between YouTrack and SVN, but I need none of the Teamcity functionality. I just want to issue Youtrack commands via commit comments like here: http://confluence.jetbrains.net/display/YTD3/Executing+Commands+from+Comment+to+VCS+Commit i.e. a commit message test #ld-1 fixed Would mark the issue ld-1 as fixed. I'm sure I set up youtrack, teamcity and svn correctly, however what I came to realize is that I need to make a build step in TeamCity that will be

Subversion E160004 X's root node's predecessor is Y but should be Z

删除回忆录丶 提交于 2019-12-20 01:15:25
问题 I've inherited a large Subversion Repository (74010 Revisions) and I am trying to perform a dump/load to upgrade the repository to the 1.8 version to take advantage of the space saving features. Before attempting this process I ran svnadmin verify over the repository in question to ensure that the repository was in good shape. Unfortunately I received the following error message: svnadmin: E160004: r1516's root node's predecessor is r1514 but should be r1515 I've done a lot of googling to try

(Visual)SVN ignore files by Regex

十年热恋 提交于 2019-12-20 01:11:31
问题 I need to exclude files with the following pattern: ProjectFoo.Data[0-9]{14}.lgp How can I use RegEx for (Visual)SVN ignore list? 回答1: The subversion ignore list don't support regular expressions. They are implemented as glob/file patterns. These patterns don't support the {14} repeat construct. The pattern ProjectFoo.Data[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9].lgp should do what you ask, but I would recommend using something like ProjectFoo.Data[0-9]*.lgp as

Changing working folder location

时间秒杀一切 提交于 2019-12-20 01:08:24
问题 I want to change the location of working folder. How to make the changes in my SVN repository? I am using TortoiseSVN client. 回答1: If you want to move your entire working copy, just move it in the file system. If you want to move a folder within the working copy and later commit the move, right click on the folder, pick TortoiseSVN->Rename. Change YourFolder to something like ..\..\NewFolder\AnotherFolder\YourFolder . Note that ..\..\NewFolder\AnotherFolder\ must exist before the operation.

'svn add' interactive

送分小仙女□ 提交于 2019-12-19 18:52:17
问题 Is there any command line trick to get SVN to add in all the missing files from svn stat interactively? For example, something like: svn add --interactive $ new file: file1.tmp (Add / Ignore) ? $ missing file: file.tmp (Remove / Ignore) ? EDIT: A script that could achieve this would also work. 回答1: I wrote a little Ruby script to do this: require 'fileutils' buffer = "" CACHE_DIR = File.join(ENV['HOME'], '.svn_interactive_temp') FileUtils.mkdir_p(CACHE_DIR) data = IO.popen 'svn stat' do

Xcode 4.3 how to merge storyboard changes from two developers using SVN?

五迷三道 提交于 2019-12-19 17:40:17
问题 I'm running into an issue where a project has multiple developers working on the same storyboard file. As developers add controllers to their own version of the storyboard, the files need to be merged. As I look at a storyboard in plain text format during merge, I can't make sense of what changes I should accept and in which order. Is there some sort of tutorial or a guideline on how to do merge changes from versions of the same storyboard? How do you manage changes to the same storyboard

dropbox-style svn/git/mercurial?: auto-commit upon change and auto-checkout

你离开我真会死。 提交于 2019-12-19 16:18:43
问题 This question was migrated from Software Engineering Stack Exchange because it can be answered on Stack Overflow. Migrated 8 years ago . I'm not a professional programmer, but I do some small solo projects and I would like some versioning and syncing, but going through the process of remember to commit and checkout (on different computers) is more of a hassle than, say, keeping code in a dropbox folder that automatically uploads to the cloud upon file change. Using the current copy is

svnant does not support svn version 1.7. what to do?

陌路散爱 提交于 2019-12-19 13:40:53
问题 I'm using tortoise svn, and recently I updated to version 1.7. Still, in our build system (ant script) we use svnant lib (to get current revision number, we use it as version number). So can no longer build the project as svnant does not support 1.7 version of svn. How can I solve this problem? Thank you in advance! 回答1: You can use the command line version of svn. Download and Install it on your machine Include it in your Path (so that you can execute svn from the command line) Change the