English 中文(简体)
Using SVN with CodeBlocks Projects
原标题:

I have an SVN repository setup online and I want to use it to manage my C++ projects in CodeBlocks.

I read that SVN can only track changes to text files, so how do I manage the .cbp project files and other non-text files. Do CodeBlocks projects have a way to checkout files from the repository and deal with changes? Or should I commit everything as a whole project including all non-text files and the .cbp file?

Sorry if this question is a bit vague.

Thanks, Ash.

最佳回答

Actually SVN is able to track history of files with any content. Text files only make it easier to analyse changes and compress them during storage, but there is not effects on ability to see history, branching and so on.

For some types of binary data specialized tools may exist which allow conveniently see differences and do merges on client side.

For example on doc-files, by default TortoiseSVN launches Word to show differences

问题回答

Create a new folder named CB-Project (or a name you like)in the same directory you have the SVN in. You will have to set your path so the new project file name is in it. You can name a project (garbage) or any name you d like code::blocks will add the file extension for you. You can have many projects and different versions of them.





相关问题
Best practices for Subversion and Visual Studio projects

I ve recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that s built from a cobbling-together ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

ASP.NET MVC: How should it work with subversion?

So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...

How to search for file in subversion server?

Is there a way to search for a file in a subversion repository? Something similar to Unix find command, with which I can find the location of a file in a repository. I know there is svn list, but ...

热门标签