svn

Execute build.xml with Maven

蓝咒 提交于 2019-12-19 12:51:46
问题 Is it possible to execute build.xml script with Maven? This script checksout all my projects and subprojects and I've just got used to using maven, didn't really use much of an ant before and I know ant can be used with Maven. So my question is: how? 回答1: I'm really not a big fan of this approach (either use Ant, or Maven, but not a bastard mix) but you can use an external build.xml with the Maven AntRun Plugin: <project> ... <build> <plugins> ... <plugin> <groupId>org.apache.maven.plugins<

It is possible to completely remove a file from my SVN repository?

≡放荡痞女 提交于 2019-12-19 12:51:31
问题 I am using tortoise SVN for a project that I'm working alone and I have committed (by mistake) a huge file to my repository (a VC++ Intellisense Database). Now I want to remove this file from my repository to facilitate its backup. Removing the file from my project and doing a commit (obviously) do not solve my problem as the previous version of that file are still there in the repository. Is there a way to solve this problem that does not involve the creation of a new repository? EDIT The

It is possible to completely remove a file from my SVN repository?

那年仲夏 提交于 2019-12-19 12:50:55
问题 I am using tortoise SVN for a project that I'm working alone and I have committed (by mistake) a huge file to my repository (a VC++ Intellisense Database). Now I want to remove this file from my repository to facilitate its backup. Removing the file from my project and doing a commit (obviously) do not solve my problem as the previous version of that file are still there in the repository. Is there a way to solve this problem that does not involve the creation of a new repository? EDIT The

How to get SVN revision number in Jenkins Workflow Plugin?

痞子三分冷 提交于 2019-12-19 11:36:10
问题 I'm using Jenkins 1.596, Workflow 1.3, and Svn plugin 2.5. I'm trying to get the svn revision number in my workflow script. The section of my workflow script is: node { checkout scm: [ $class: "SubversionSCM", locations: [[ remote:'https://secure3.svnrepository.com/somerepo/trunk', credentialsId: cid]] ] stage 'build' dir('trunk') { def revision = 'svn info'.execute().in.text.split('\n').find { it.startsWith('Revision') }.split(':')[1].trim() println revision def svnHome = tool 'Svn' sh "

svnkit, list all files of an SVN repository, without checking out the files

天大地大妈咪最大 提交于 2019-12-19 11:09:34
问题 svnkit.com is an SVN library in Java. For instance, you can get the log of an SVN repository as follows: SVNClientManager.newInstance().getLogClient(); SVNLogClient.doLog(SVNURL url, String[] paths, SVNRevision pegRevision, SVNRevision startRevision, SVNRevision endRevision, boolean stopOnCopy, boolean discoverChangedPaths, boolean includeMergedRevisions, long limit, String[] revisionProperties, final ISVNLogEntryHandler handler); How do I list all files of an SVN repository (without checking

How to download all files from Chrome Extensions example (subversion repo)?

我怕爱的太早我们不能终老 提交于 2019-12-19 10:49:12
问题 I would like to download this examples. They are shown using ViewVC (which I believe is related to subversion) and it seems that there is no easy way of downloading from there, according to this Stackoverflow question (but the answers are from 2011). Is there any way to easily access those files? I don't mind command line tools. Thanks. 回答1: Every extension example in the source code is available as a zip file as well, directly linked at https://developer.chrome.com/extensions/samples. If you

sparse svn update of deep directory structure

房东的猫 提交于 2019-12-19 09:28:21
问题 Is there a way to have a sparse checkout of an SVN repo with deep nested directory structure. I'm doing this using a listing of all the files in the repo and filtering for just *.xml: svn list --recursive "http://myRepo.com/trunk" > allFiles.txt I'm trying to do the following: svn checkout "http://myRepo.com/trunk" --depth empty "myRepo" svn update --set-depth empty project1/dirs/moreDirs/evenMore/file.xml I tried this but got an error saying it was skipping updating that file. If I manually

sparse svn update of deep directory structure

大兔子大兔子 提交于 2019-12-19 09:28:05
问题 Is there a way to have a sparse checkout of an SVN repo with deep nested directory structure. I'm doing this using a listing of all the files in the repo and filtering for just *.xml: svn list --recursive "http://myRepo.com/trunk" > allFiles.txt I'm trying to do the following: svn checkout "http://myRepo.com/trunk" --depth empty "myRepo" svn update --set-depth empty project1/dirs/moreDirs/evenMore/file.xml I tried this but got an error saying it was skipping updating that file. If I manually

Git svn does not use the svn credentials

China☆狼群 提交于 2019-12-19 09:26:38
问题 I try to clone a path from our svn repository. The repository is secured with passwords. I have found some subversion directories on my Windows 10 System and created symlinks for them. So it is only one directory. I opened the git-bash and started the command svn checkout --username myuser --password mypassword svn://myserver/myrepository/myproject/trunk SVN created in the auth/svn.simple directory a file with my credentials. The file starts with K 8 passtype V 8 wincrypt K 8 password ... The

PHP Source Control Server

杀马特。学长 韩版系。学妹 提交于 2019-12-19 09:20:27
问题 I there a PHP based source control 'server' that is compatible with SVN clients? I'd like to host my SVN on my hosting servers, however the current host will not allow me to start any process or install any software 回答1: You can have a PHP front end but you will still need to have the SVN server running somewhere. 回答2: You could try: http://sourceforge.net/projects/deltaweb 回答3: Not that I know of. You can look at services like CVSDude.org which provide great SVN hosting that's pretty