svn

Command line to list all merge(copies) in subversion?

血红的双手。 提交于 2019-12-31 10:04:21
问题 How can you list all subversion merges? For example: Trunk ____9_____14____20___ \ \ \ \______\_____\____ Branch01 10 15 21 If I branched on rev 9, and then did a merge at rev 14. What is the subversion command line that identifies rev 15 as a merge from rev14 from trunk? The only way I can tell now is from the log file. However, I know I can issue the following command: svn log –-stop-on-copy svn:<URL>/branches/Branch01 and it will stop on rev 10 (branched). Is there a command I can issue,

How to create SVN repository on server?

懵懂的女人 提交于 2019-12-31 08:57:51
问题 How to create SVN repository on server? Although i have found various articles on this but still facing issues while creating repository on my website. Right now i am using assembla as my SVN repository, but want to create my own on my hosting. 回答1: Create a Repository: svnadmin create /svnrepos Create a SVN User vi /svnrepos/conf/svnserve.conf anon-access = none auth-access = write password-db = passwd And add users in the format: user = password E.g.: tony = mypassword Import Your Project

svn: using vim to merge conflicts

折月煮酒 提交于 2019-12-31 08:43:01
问题 I am trying see how merging in svn can be made easy. This page mentions that external tools can be used for merging. Can vim be used as the external merge tool? Some additional requirements: Files should be split horizontally/vertically to give a better view. Window titles should be set appropriately. e.g: as in 回答1: Step 1: Save the following script, e.g: merger.sh: #!/bin/sh # BASE=${1} THEIRS=${2} MINE=${3} MERGED=${4} WCPATH=${5} vimdiff $MINE $THEIRS -c ":botright split $MERGED" -c "

svn: using vim to merge conflicts

左心房为你撑大大i 提交于 2019-12-31 08:41:48
问题 I am trying see how merging in svn can be made easy. This page mentions that external tools can be used for merging. Can vim be used as the external merge tool? Some additional requirements: Files should be split horizontally/vertically to give a better view. Window titles should be set appropriately. e.g: as in 回答1: Step 1: Save the following script, e.g: merger.sh: #!/bin/sh # BASE=${1} THEIRS=${2} MINE=${3} MERGED=${4} WCPATH=${5} vimdiff $MINE $THEIRS -c ":botright split $MERGED" -c "

How to set up SVN credentials in Jenkins?

别来无恙 提交于 2019-12-31 08:34:09
问题 Is there a way to set up credentials that will be used by Jenkins when it performs SVN commit? I could't find a way to do so. If I run Jenkins server on my machine, which has SVN client installed and my credentials are cached, it seems to work fine, but if I try to run Jenkins server on another machine, then I get an error. ERROR: Failed to tag org.tmatesoft.svn.core.SVNCancelException: svn: No credential to try. Authentication failed 回答1: If you go to the job configuration window where

Windows batch file to delete .svn files and folders

被刻印的时光 ゝ 提交于 2019-12-31 08:07:09
问题 In order to delete all ".svn" files/folders/subfolders in "myfolder" I use this simple line in a batch file: FOR /R myfolder %%X IN (.svn) DO (RD /S /Q "%%X") This works, but if there are no ".svn" files/folders the batch file shows a warning saying: "The system cannot find the file specified." This warning is very noisy so I was wondering how to make it understand that if it doesn't find any ".svn" files/folders he must skip the RD command. Usually using wild cards would suffice , but in

svn:switch doesn't work with relative svn:external?

若如初见. 提交于 2019-12-31 03:47:04
问题 We have a subfolder that is a relative svn external (../project/subfolder). In a fresh trunk checkout it points to (...TRUNK/project/subfolder) and in a fresh branch checkout it points to (...BRANCH/branchName/project/subfolder). But if you do a switch on the project containing the subfolder, the subfolder stays pointing at TRUNK. Alternately if you do a BRANCH checkout and switch to TRUNK it stays pointing at BRANCH. Shouldn't an svn:switch update relative externals? Is there some sort of

Cannot commit jar file to svn after merge: 502 'Bad Gateway'

徘徊边缘 提交于 2019-12-31 03:08:11
问题 We use visualsvn with tortoiseSVN on the client for version control of the binaries. That is, when we want to test a project, the test branch is merged with the build branch. This essentially updates the jar file to a newer version. For some reason i cannot commit the now merged test branch, i get a 502 'Bad Gateway' error. I can commit some of the updated files , i have comitted the delete of the old jar file but i cannot commit the new jar. The error i get points to the build branch, not

Don't diff merges with SVN

蹲街弑〆低调 提交于 2019-12-31 02:55:12
问题 I would like to get a diff of all the changes I did on a feature branch. Currently I use svn log --stop-on-copy | awk '/^r.+NAME/{print $1}' | xargs -l svn diff -c > code.diff Unfortunately this includes the revisions where trunk got merged into my branch and clutters the diff. Is there a way to get svn log to skipp merges or to get diff to ignore them? 回答1: As long as you merged all revisions from trunk into your branch you can diff the both trees of trunk (revision of last merge) and branch

Get the previous SVN Update log

怎甘沉沦 提交于 2019-12-31 02:00:06
问题 I have done an svn update from trunc . While updating, the Action and corresponding Path had been displayed in tortoisesvn dialog box. Once the update is done, I have closed the window. My question is how can I review or get the previous Update log.I have already done an svn commit after my previous update . 回答1: TortoiseSVN->Settings->Saved Data There's a section at the bottom named Action log . Click on the Show button to show the log. 回答2: %userprofile%\AppData\Local\TortoiseSVN\logfile