svn

svn rebasing and history lost

*爱你&永不变心* 提交于 2019-12-21 04:16:20
问题 We currently have 2 branches: /repo/branch/current_version /repo/branch/next_version current_version is a branch where all developers currently works. We starting a next version and created next_version branch from some point in current_version, while work on current_version is still continuing. In next_version we do some development and in next months the branch will become our main one, where all development will be done. Since there's development on current_branch, we thought periodically

How to implements the /svn-history/ path like Google Code Hosting does?

喜欢而已 提交于 2019-12-21 04:11:44
问题 When you publish a Subversion repository trough Apache Httpd you got an bonus feature: you can browse the HEAD revision of you sources with any HTTP client. For example, we have this repository: http://trash-cli.googlecode.com/svn/trunk/ With any HTTP client (e.g. Firefox) you can browse the files at the HEAD revision. The svnbook explain very well how do that. But Google Code Hosting offer an extra feature: you can browse also the past revisions. For example you can browse the r10 revision:

Get revision number of a remote repository

别等时光非礼了梦想. 提交于 2019-12-21 04:04:42
问题 On the local machine it is no problem to get the revision number of a subversion repository with svnversion . Now I want to get the revision number from my online repository (WebDAV with Apache2). I tried this: svnversion http://nick:password@www.myhost.de/svn/test` In a browser it worked as usual (just to ensure there weren't typos or so), but svnversion said that the directory cannot be found. So I presume I was on the wrong track. How can I get the revision number? 回答1: svnversion is just

Git tag for a subfolder of a repository

笑着哭i 提交于 2019-12-21 04:02:10
问题 I use Git to import a SVN repository. Then I created my own project as a subfolder in the repository. I use the SVN repository with Git-SVN. My working procedure is: git commit -am "message" git svn rebase git svn dcommit . Now I want to tag my project with git tag -a RC1 -m 'Release Candidate 1' , but I only want that my project gets the tag. How can I do that? 回答1: TL;DR version It's possible to tag specific directories (aka trees) if you know the tree's SHA-1, but it's not often done & not

Why are all files in AnkhSVN solution marked as new after installing TortoiseSVN?

会有一股神秘感。 提交于 2019-12-21 03:53:11
问题 After installing TortoiseSVN 1.6.0, all files loaded into an AnkhSVN enabled Visual Studio 2008 project are marked as new (blue +). I have tried re-installing AnkhSVN 2.0.6347 and checkout the repository into a new "clean" folder. However neither seem to resolve the problem. My question is kind of two fold, is there a resolution to this issue and if there is an in-compatibility between the two products (i.e. different SVN bindings?) is there a way to tell which combination of AnkhSVN and

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

坚强是说给别人听的谎言 提交于 2019-12-21 03:41:34
问题 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 directory and associated metadata: svn co svn+ssh://someuser@svn.server/path/to/repository Several developers work on the same working copy that is checked out under a shared shell account ( root ). Because this repository is being used for configuration revision control in a production environment, this

How to connect OpenShift with a private BitBucket Repository

最后都变了- 提交于 2019-12-21 03:41:13
问题 I want to host a website on OpenShift but I want my code to synchronize automatically with a "free but private" service like Git, so I found BitBucket. I tried to connect it by my self by pasting this key from my OpenShift app: ssh://530910bd5973ca01ea00007d@XXXXXXXXXX.rhcloud.com/~/git/XXXXXXXXXX.git/ into: BitBucket -> Repository -> Import Repository -> Old Repository. But I get this error: Unsupported protocol. Please use 'http://', 'https://' , 'svn://' or 'git://. I believe I have the

How to change where Subversion repositories are stored?

北慕城南 提交于 2019-12-21 03:40:32
问题 Newbie question: I just installed VisualSVN Server and created a repository. I noticed that it created it at C:\Repositories. I need it stored on my D drive instead as there is more space there. I Googled around but can't figure out how to do it. This is a new installation so - if it is easier - I could delete the repository first. In a nutshell: How do I get Subversion to store repositories at D:\Repositories instead of C:\Repositories? Thanks, Roger 回答1: Uninstall your VisualSVN Server,

Error in jenkins during sonar analysis caused by svn blame

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-21 03:36:35
问题 When i run the jenkins task i get the following error 17:12:49.738 INFO - Sensor SCM Sensor... 17:12:49.847 INFO - SCM provider for this project is: svn 17:12:49.847 INFO - Retrieve SCM blame information... 17:12:49.863 INFO - 843 files to be analyzed INFO: ------------------------------------------------------------------------ INFO: EXECUTION FAILURE INFO: ------------------------------------------------------------------------ Total time: 1:11.026s Final Memory: 31M/214M INFO: ------------

What is the purpose of adding scm information to a maven pom?

耗尽温柔 提交于 2019-12-21 03:22:10
问题 I understand why you would want to add archive information to a pom. But why SCM info? Is it possible to materialize a project completely from a pom? The way I've always stored maven projects in svn, is I add everything (including the eclipse project, maven pom), to a repository. Any time I make a change to anything (including the pom), I do a SVN commit. Is there a way to perform SVN operations directly through maven? Is this a best practice? 回答1: The SCM plugin among other features such as