svn-checkout

Subversion: Can I checkout, modify, and then make it a branch?

人走茶凉 提交于 2020-01-30 14:03:50
问题 I did a checkout from my trunk to a local DIR and made lots of local changes there. Now I don't want to commit it back to the trunk, but I'd rather make a branch from this local version. Is that possible? Can I just copy the trunk to a branch, and then cd DIR and svn switch to the branch? UPDATE : Thanks for the answers, it worked! To summarize the steps: cd DIR svn copy . new-branch-URL svn switch new-branch-URL . (note the dots) 回答1: According to its command line help svn copy can copy from

Subversion: Can I checkout, modify, and then make it a branch?

无人久伴 提交于 2020-01-30 14:03:49
问题 I did a checkout from my trunk to a local DIR and made lots of local changes there. Now I don't want to commit it back to the trunk, but I'd rather make a branch from this local version. Is that possible? Can I just copy the trunk to a branch, and then cd DIR and svn switch to the branch? UPDATE : Thanks for the answers, it worked! To summarize the steps: cd DIR svn copy . new-branch-URL svn switch new-branch-URL . (note the dots) 回答1: According to its command line help svn copy can copy from

Difference between checkout and export in SVN

不羁的心 提交于 2020-01-22 04:19:48
问题 What is the exact difference between SVN checkout and SVN export? From what I know, export does not include the .svn directory which include metadata, and checkout included that .svn directory. Yet, my colleague had this problem recently that there is a different behaviour for the stuff compiled from sources that is checkout and exported from SVN repo. Both of them compiled correctly, but the one compiled from svn export works, but the one that is checked out doesn't work at all. PS: The

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

SVN cleanup causes “error processing command 'modify-wcprop'”

我与影子孤独终老i 提交于 2019-12-23 20:04:06
问题 I'm trying to checkout a large directory and part way through, the SVN server crashed. I've tried to perform a cleanup but every time it errors saying a file is not under version control. root@mitydsp-dev:~/nvsp2# svn cleanup svn: In directory 'Platform/qt5/qtdeclarative' svn: Error processing command 'modify-wcprop' in 'Platform/qt5/qtdeclarative' svn: 'Platform/qt5/qtdeclarative/LICENSE.FDL' is not under version control If I go into Platform/qt5/qtdeclarative there is no LICENSE.FDL file. I

Is there a Subversion Checkout Hook or something similar?

£可爱£侵袭症+ 提交于 2019-12-22 12:43:20
问题 I'm using a subversion repository and I want to know whenever somebody asks my repository for a checkout; like a 'svn co' or an 'svn up'. Is there a hook or some other method that I can use so that a script is run, or email sent, whenever somebody requests information from my svn server? How can I achieve this without relying on apache logs? BTW it is a pretty simple repository just meant for Educational purposes. (If you need more information then just ask. Thanks in advance.) 回答1: The

Is there a Subversion Checkout Hook or something similar?

不想你离开。 提交于 2019-12-22 12:43:07
问题 I'm using a subversion repository and I want to know whenever somebody asks my repository for a checkout; like a 'svn co' or an 'svn up'. Is there a hook or some other method that I can use so that a script is run, or email sent, whenever somebody requests information from my svn server? How can I achieve this without relying on apache logs? BTW it is a pretty simple repository just meant for Educational purposes. (If you need more information then just ask. Thanks in advance.) 回答1: The

How to check out a deleted project from an SVN on the command line

北慕城南 提交于 2019-12-22 08:23:51
问题 I'm trying to checkout a project that was deleted from my SVN in revision 401. The project is now defunct and had been completely replaced with a rewrite of the code, but I'd like to do a checkout so that I can refer back to small pieces of the old code while working on the rewrite. As far as I can tell, this should be as simple as checking out the old path and the last good revision (400). But when I try this I get an error, because it's trying to use the latest revision: C:\Users\couling

How do I do an exclusive checkout in SVN?

╄→尐↘猪︶ㄣ 提交于 2019-12-22 04:19:09
问题 I'm looking for a way to make an exclusive checkout from SVN. Is there a way to automatically lock a file when it's being checked out ? If one user makes an exclusive checkout, and then another user makes a checkout to the same file, how do I generate some sort of notification or an instant message to the 2nd user that the file is locked? 回答1: If I understand your follow-up posts, what I think you really want is to make sure that people know about locks. I'm imagining a case where users A and

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<