svn

Is the Subversion 'stack' a realistic alternative to Team Foundation Server?

久未见 提交于 2020-01-11 17:07:29
问题 I'm evaluating Microsoft Team Foundation Server for my customer, who currently uses Visual SourceSafe and nothing else. They have explicitly expressed a desire to implement a more rigid and process-driven environment as their application is in production and they have future releases to consider. The particular areas I'm trying to cover are: Configuration management (e.g., source control) Change management (workflow and doco for change requests, tasks) Release management (builds and

SVN 405 Method Not Allowed

*爱你&永不变心* 提交于 2020-01-11 15:04:30
问题 I accidentally deleted a folder in SVN and added it back immediately. I ran into an issue with this and my solution ended up removing the folder completely from my local copy as well as the server copy. I can do updates and commits without problems on any other file or folder, but if I try to create a folder with the same name, add, and commit, it gives me the following error: svn: Server sent unexpected return value (405 Method Not Allowed) in response to MKCOL request for '/svn/www/!svn/wrk

svn diff: file marked as binary type

本秂侑毒 提交于 2020-01-11 15:00:05
问题 I'm doing an svn diff on one of my files and svn is detecting it as a binary type. The file is readable plain text and I would like to be able to get a diff of this file. How do I tell SVN that this is not a binary file? Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream 回答1: You can use the Subversion property svn:mime-type to set an explicit mimetype on the file: svn propset svn:mime-type 'text/plain' path/to/file Alternatively, you can delete this

svn diff: file marked as binary type

白昼怎懂夜的黑 提交于 2020-01-11 14:59:48
问题 I'm doing an svn diff on one of my files and svn is detecting it as a binary type. The file is readable plain text and I would like to be able to get a diff of this file. How do I tell SVN that this is not a binary file? Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream 回答1: You can use the Subversion property svn:mime-type to set an explicit mimetype on the file: svn propset svn:mime-type 'text/plain' path/to/file Alternatively, you can delete this

Does svn have a `revert-all` command?

本小妞迷上赌 提交于 2020-01-11 14:48:16
问题 If I want to throw away all of my changes, and return to the code that is on the repository, I do the following: $ rm -fr * $ svn up This is easy enough, but I'm wondering if there is a single command that will accomplish this, something like: $ svn revert-all 回答1: You could do: svn revert -R . This will not delete any new file not under version control. But you can easily write a shell script to do that like: for file in `svn status|grep "^ *?"|sed -e 's/^ *? *//'`; do rm $file ; done 回答2:

`Performing VCS refresh` hangs

帅比萌擦擦* 提交于 2020-01-11 14:42:12
问题 When I commit the changes it will always ask for me to wait for Performing VCS refresh for a very long time. Is this a known problem? 回答1: There is related issue on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-224516. Fix will be included in the nearest update. 来源: https://stackoverflow.com/questions/59169863/performing-vcs-refresh-hangs

TortoiseSVN command keeps open processes

三世轮回 提交于 2020-01-11 14:32:08
问题 I am using a scheduled task to run a .bat script which updates my SVN repositories. The scheduled task runs every hour. It still creating a new process of "TortoiseProc.exe", every time I run the script, until the are a lot of open processes and the CPU is at 99%. The script is running fine, but unfortunately the processes won't be closed automatically. This is how my .bat looks like: CD C:\Program Files\TortoiseSVN\bin\ START /wait TortoiseProc.exe /command:update /path:"D:\somePath"

subversion “you are trying to commit files from several subversion working copies”

别说谁变了你拦得住时间么 提交于 2020-01-11 12:58:25
问题 Subversion has very strange behavior when moving/deleting folder. I had this error Subversion unreliable: "please update the out of date items" and now this one. How to solve this ? 回答1: Did you used the operating systems move or delete functions? If so, that could also produce the errors you see above. When moving files or deleting files in Subversion working copies, you should always use the svn commands ( svn move , svn delete ) rather than the operating system's. When moving directories

Which file does svn:ignore modify?

筅森魡賤 提交于 2020-01-11 10:57:23
问题 I would like to know which file svn propset svn:ignore modifies (equivalent to .gitignore ) so that I can actually commit that file to the repo. E.g. I am working with Java and Maven , which creates a directory named "target", which I am ignoring. svn propset svn:ignore target . does work but I don't know which settings file is modifies by that command so that I propagate the change to my team. RELATED: SVN ignore like .gitignore 回答1: svn:ignore property is stored together with other

SVN show usernames instead of user ids

两盒软妹~` 提交于 2020-01-11 09:15:48
问题 So we have this SVN repository where earlier the committers name was shown neatly and it was easier to track who did what. Recently, the svn repository was moved to another server and it was set up so that now when we check logs we can only see the user ids of the author. I believe that we can update the SVN authz or some other settings file in the server to add the author name. What I wanted to ask is, is there any way to do that in the client side? Mainly because we do not have access or