开发者

Problem with Subversion and Build event under Visual Studio 2008

开发者 https://www.devze.com 2023-01-31 09:04 出处:网络
I checked out http://code.google.com/p/flashdevelop/ In pre Build there is SubWCRev \"$(SolutionDir)\\\" \"$(SolutionDir)FlashDevelop\\Proper开发者_StackOverflowties\\AssemblyInfo.cs.rev\" \"$(Solut

I checked out http://code.google.com/p/flashdevelop/

In pre Build there is SubWCRev "$(SolutionDir)\" "$(SolutionDir)FlashDevelop\Proper开发者_StackOverflowties\AssemblyInfo.cs.rev" "$(SolutionDir)FlashDevelop\Properties\AssemblyInfo.cs"

I changed SubWCRev to "c:...\SubWCRev.exe" because it's not in path env variable. But I got

"subwcrev ... exited with code 6."


Error code 6 means "SVN Error" as seen in the source code of SubWCRev.

That means that the status couldn't be fetched for some reason. Maybe one of the files is opened in another app, the folder is read/write protected, ... Or maybe the version of SubWCRev is not the same as your svn client with which you checked out the working copy - in that case the wc format may not be the same.


In my personal experience, "subwcrev ... exited with code 6." error occurred when I haven't added folders/files to the svn. After adding required folders/files to the SVN Repository this error is resolved.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号