svn

RPM spec files in version control system

北战南征 提交于 2019-12-22 10:54:14
问题 I faced with task of building RPM packets from sources of c++ (but it may be any other language) project controlled with Git. And my question is where should I store ".spec" files for this task? Should it be stored independently of project main sources or be included in them? This task is complicated by the condition that I'm participating in different projects and use different version control systems: SVN, Git, Mercurial. So I'm trying to find most common and convenient solution without

Cannot resolve Subversion 1.7 checksum mismatch error on update

久未见 提交于 2019-12-22 10:48:30
问题 My Subversion 1.7.17 working copy is unhappy with a particular file but is unable to update it. Any attempt to update gives me the same error, even if I delete the file or delete the directory: Updating 'trunk/src/Makefile': svn: E155017: Checksum mismatch for '/Volumes/project/dev/torc/trunk/src/Makefile': expected: 78ee11ff73f3b68c903db838b6667ec3 recorded: 62bbbf4362958e3fd42470650d5b4eb6 I have read through SVN - Checksum mismatch while updating, and its two main solutions are to modify

Subversion Update Issue

匆匆过客 提交于 2019-12-22 10:45:25
问题 I'm getting the following error when I try to update my repository. Can someone explain what it means? Command: Update Error: URL Error: 'http://mysvn/foo' Error: of existing directory Error: 'C:\SVN\MyProj\NinjectModules\Models' does not match Error: expected URL 'http://mysvn/foo/NinjectModules/Models' Finished!: 回答1: This kind of error message is usually associated with letter casing errors in the svn repository. Perhaps your svn is installed on a Linux machine and there you have two

Build on pre-commit in SVN

情到浓时终转凉″ 提交于 2019-12-22 10:44:44
问题 I know this has been asked already, but we would really like to reject any attempt to commit files which would break a project in trunk. The decision to reject the committed files is based on the result of the building process of the project the files being committed belong to. I know that during the pre-commit phase the repository cannot be accessed concurrently, but this is not a problem for us since our builds are really fast and we can tolerate any delay involved. Are there any tools to

Merging trunk into a branch that has local changes

爱⌒轻易说出口 提交于 2019-12-22 10:39:50
问题 I have a branch in SVN that I want to update with new changes from the trunk. I also have some files with local changes in this branch. I do not want to commit some of these changes just yet. If I try to merge the changes from trunk into this branch, it gives me an error: Error: Cannot merge into a working copy that has local modifications Is there a way to merge the trunk into the branch remotely on the server, so I can just update the branch normally afterwards? 回答1: It is highly

Eclipse: Show Annotation from Previous Revision

笑着哭i 提交于 2019-12-22 10:26:46
问题 I'm using Eclipse with Subversion and I've found the Show Annotation feature to be quite helpful. What I want to do now is this: suppose I find a certain line that was changed in a certain revision. I want to see what the file looked like in the revision before that one - including annotations. I don't see anything in the right click menu that would let me do that. Is there another way? (Sorry if this seems obvious, I've just switched over from NetBeans which has this feature up-front and

List subversion repositories

别来无恙 提交于 2019-12-22 10:15:36
问题 How do I list all my subversion repositories on a html page? All repositories are located in a root folder. I want to list them as a link list to get a overview of my repositories and to have easy access to them. 回答1: In your Apache httpd.conf try: <Location /svn> DAV svn # any "/svn/foo" URL will map to a repository /usr/local/svn/foo SVNParentPath /usr/local/svn </Location> See redbean Where /usr/local/svn becomes your repository parent folder. Edit: I'm assuming that you use a dedicated

How do I put an existing Visual Studio solution under source control using VisualSVN Server?

ε祈祈猫儿з 提交于 2019-12-22 10:00:00
问题 I have an existing Visual Studio 2013 solution, and I want to put it under source control using VisualSVN Server. I installed VisualSVN Server and created a new blank repository. Their Getting Started page doesn't explain how to add a folder structure and files to the repository. I am expecting an import or add files option when right clicking on the repository node in the UI. How do I add an exiting root folder and all its files and folders of a Visual Studio solution to a repository and

A good solution to include some template text into a source file using SVN?

℡╲_俬逩灬. 提交于 2019-12-22 09:46:22
问题 I have a Java project in a SVN repository, with a bunch of .java files, each of those files has a licence agreement flower box at the top of the file (I have customers which have licenced the source as well as running the product). Is there a good way to be able to modify / maintain the licence text in one place rather than having to update all the source files manually if it changes? Looking at some similar (but not identical) questions it seems like SVN does not have this functionality out

svn to perforce migration

女生的网名这么多〃 提交于 2019-12-22 08:51:36
问题 I am looking at migrating our svn code base to perforce. Looking at google search results, I did find 2 tools which do the same P4Convert ftp://ftp.perforce.com/pub/perforce/tools/p4convert/docs/index.html SVN2P4 http://public.perforce.com/wiki/SVN2P4 Both these tools seems to be from the Perforce website. But I couldn't find pros and cons of using one tool vs the other. We also need to migrate the svn history to perforce. Is this possible using any of these tools ? 回答1: I'd recommend trying