svn

How to revert a subversion import?

☆樱花仙子☆ 提交于 2019-12-24 11:12:03
问题 I did a mistake importing in an import to some SubVersion repository, and I want to revert this import. How can I do that? My mistake was this: Given a folder with subfolders a \ a \ a1 a \ b1 a \ c1 I wanted to import the folder a inside a repository folder F, so the structure in the repository be F\a but I imported the folders a1, b1 and c1 and the repository now is F \ a1 F \ b1 F \ c1 I'm using Tortoise Svn, so if your instructions are in terms of that, are better. 回答1: svn mkdir repo

svn: Not authorized to open root of edit operation

旧巷老猫 提交于 2019-12-24 10:59:58
问题 We have a very odd problem here with SVN. Let me first explain the (server) situation. We have development server (CentOs 5.5) with a ordinary LAMP stack, subversion and Trac configured. In this server we have several repositories where we develop PHP application. Now the point is that checking a project out (svn co) with our local Ubuntu machines is not really a problem and neither is committing etc. On the development server checking out/exporting is becoming a problem and we get the error:

Eclipse: Restart an SVN import from where it left off?

試著忘記壹切 提交于 2019-12-24 10:58:52
问题 I've got an SVN import that keeps breaking off in the middle, generating RA layer request failed...Could not read response body: Connection was closed by server . It breaks off at different spots each time, making me think it's a timeout issue. I'm new to SVN so bear with me, but is there a way to pick up the import where I left off? My gut is telling me this is against the whole concept of SVN but my gut's been wrong before. :) 回答1: No, any action in svn is atomic and all of them either are

How to test that test if a path is (or isn't) writable without writing nothing in it

Deadly 提交于 2019-12-24 10:47:28
问题 Suppose you have the following subversion httpd server: http://svn.mycompany.com/svn/<project-name> Suppose you have complex authorization rules that specify who can read where and you have written them down in the svn-access-file.conf which contain the path-based authentication configuration. Now suppose that you would test that the configuration file is correct (without modifying the history in subversion). You can test that a location is readable by a user (e.g. alex) using something like

Why am I able to create the same SVN branch twice?

落爺英雄遲暮 提交于 2019-12-24 10:45:46
问题 I am able to create the same SVN branch twice. I would hope that SVN would not allow me to create same branch again. Please help me to fix this issue. 回答1: From SVN RedBook: Subversion has no internal concept of a branch—it knows only how to make copies. When you copy a directory, the resultant directory is only a “branch” because you attach that meaning to it. You may think of the directory differently, or treat it differently, but to Subversion it's just an ordinary directory that happens

Hudson doesn't checkout using symlinks when using SVN (Subversion)

天大地大妈咪最大 提交于 2019-12-24 10:39:05
问题 The problem is that when Hudson checks out the files, it doesn't use symlinks. I've tried the svn13 and svn14 plug ins, but neither worked. 回答1: In linux, edit your /etc/init.d/hudson script file: Look for a line that looks like: $SU $HUDSON_USER --shell=/bin/bash -c "$DAEMON $DAEMON_ARGS -- $JAVA $JAVA_ARGS -jar $HUDSON_WAR $HUDSON_ARGS" || return 2 Change it to: $SU $HUDSON_USER --shell=/bin/bash -c "$DAEMON $DAEMON_ARGS -- $JAVA $JAVA_ARGS -Dsvnkit.symlinks=true -jar $HUDSON_WAR $HUDSON

Re-importing from CVS into Subversion

你离开我真会死。 提交于 2019-12-24 10:38:44
问题 The problem I'm trying to solve is not dissimilar to Subversion out of sync with production code, easiest way to update subversion but somewhat different. I converted a (Java) project from CVS to SVN (using cvs2svn, retaining full history) - say at version 1.00 Development on version 2.00 continued with the code in SVN. Meanwhile, some fixes were done in CVS (as the dev tool setup was different.) Now, what I need to do is effectively re-import part of the project from CVS. If I had cvs

sublime text 3 使用svn

瘦欲@ 提交于 2019-12-24 10:23:35
sublime text 3 使用svn 1. 打开控制台 2. 输入: import urllib.request,os;pf=‘Package Control.sublime-package’;ipp=sublime.installed_packages_path();urllib.request.install_opener(urllib.request.build_opener(urllib.request.ProxyHandler()));open(os.path.join(ipp,pf),‘wb’).write(urllib.request.urlopen(‘http://sublime.wbond.NET/’+pf.replace(’ ‘,’ ')).read()) 3. 打开插件管理**-> 新建SVN文件夹 ->**解压svn文件( 点击下载 ) 然后ok 来源: CSDN 作者: X^H^L 链接: https://blog.csdn.net/qq_43026672/article/details/103591463

Moving SVN to other server error

耗尽温柔 提交于 2019-12-24 10:10:14
问题 I must move my SVN to a new server, so I wanted to create its copy. svnadmin create c:\backuprepo echo exit 0 > c:\backuprepo\hooks\pre-revprop-change.bat svnsync init file:///c:/backuprepo https://url/of/your/repository svnsync sync file:///c:/backuprepo and the copy was been done (I hope I've done it correctly). Then, I want to test it, so I want to checkout: server_ip:8080/backuprepo and I get the error: Maybe the port number is wrong ? Any ideas how to fix it ? EDIT 1 according to the

Create job in jenkins with calling svn and maven

纵饮孤独 提交于 2019-12-24 09:56:05
问题 For now I have a batch file with commands for update projects using svn and calling maven 'clean install'. How to create some job in Jenkins for similar actions? Should I write it to ant file (sorry if it's stupid idea, I've just heard about it but I don't know what is it exactly and what can I do with this) or there is other way? Thanks 回答1: Like arghtype suggested, you need to be using Jenkin's own Source Code Management by configuring SVN as SCM source and supplying credentials as part of