svn

How can I checkout a specific file from svn? [duplicate]

浪子不回头ぞ 提交于 2019-12-24 20:34:02
问题 This question already has answers here : Checkout one file from Subversion (19 answers) Closed 6 years ago . I'm going mental here. I'm writing code for my Ph.D. project(s). I have two versions of a specific .cpp file and I want to use them both (alternating between them). I want to keep the most updated version of the other files. I tried using svn copy but it won't run over existing file. I tried to delete the file but svn copy will just, kindly, say that it won't write over files existing

SVN安装

浪子不回头ぞ 提交于 2019-12-24 20:12:52
SVN SVN提交时不要提交 .setting .project .classPath target 有src的,都不能忽略 来源: CSDN 作者: 风中的默默 链接: https://blog.csdn.net/weixin_44104529/article/details/103687979

Tortoise svn requires many tries to do anything

坚强是说给别人听的谎言 提交于 2019-12-24 20:12:05
问题 I use Tortoise svn along with about 20 others at our site and all have an ongoing issue with it. Whenever you choose any command (update, commit, or ANY item of the right-click menu) there is almost always an initial lack of repsonse from the software. That is, it hourglasses for a few seconds and then does nothing. So you repeat the request, and it quite often still doesn't work, with same symptoms. It will typically work on the 3rd attempt, but sometimes it takes a 4th and on rare occasions

Access control for multiple projects using SVN

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 19:26:29
问题 I am new to SVN and trying to configure access control for multiple projects on SVN. I want to use a single password file and a single authentication file for access control for all the projects. But, it isn't working. Below is my configurations. My directory structure: /srv |--svn |--repos |-- conf |-- passwd |-- authz |-- projectX |-- projectY |-- projectZ projectX/conf/svnserve.conf entries for projectX: [general] anon-access = none auth-access = write password-db = /srv/svn/repos/conf

Import exported SVN

╄→гoц情女王★ 提交于 2019-12-24 19:25:48
问题 I have a bit specific question. How would I import an exported SVN repo? I have already read few of the import/export questions around here, but my case is more specific. What I got was an exported SVN repo (with my projects' source), now I need to import it again. How would I do it? 回答1: I think Dave is right about there being confusion around the meaning of the word export , but there seems to be some confusion as to the commands involved in his answer. If you have a directory structure in

After checking out Subversion code into Eclipse, how do I get it to build?

醉酒当歌 提交于 2019-12-24 18:56:13
问题 This problem has been frustrating me for some time... A lot of sites like Sourceforge use SVN or Subversion to manage their code. I have little problem compiling SVN code in C++, but when it comes to Java, my IDE gives me a headache. I've installed Subclipse for SVN support for Eclipse, and it works. I can check out any code into my Workspace. Now Subclipse will put the whole thing into a special project of some sort that can't be compiled. So I search Google for something and I come up with

I want to show delete option for a user if he has created particular folder

折月煮酒 提交于 2019-12-24 18:53:16
问题 I have one folder in that some important data available who are having write in that path one of the user deleted one file. So i want the delete option who is owner of the particular folder or file. Please support this. Regards Nageswari 回答1: UI controls is not how such problems are solved: anyone would be free to just not use a particular tool which would have such "client-side" feature to trivially bypass your efforts. Instead, this should be solved at the server side — where all the

Post-commit hook that performs an action only if commit affects the specific path

╄→尐↘猪︶ㄣ 提交于 2019-12-24 17:53:17
问题 In some cases it's required to perform a post-commit operation only if some condition is met. E.g. to send an e-mail only when the committed revision affects '/tags' directory. I've searched the web for such script sample to run in Windows environment and wasn't able to find any so I had to write it myself. 回答1: The post-commit.bat code: REM The command checks whether the committed revision changes any data under '/tags' "%VISUALSVN_SERVER%bin\svnlook.exe" dirs-changed %1 --revision %2 |

How do I preserve files' timestamps using SVN? [duplicate]

拈花ヽ惹草 提交于 2019-12-24 17:19:04
问题 This question already has answers here : How can I keep the original file [commit] timestamp on Subversion? (4 answers) Closed 3 years ago . When I import files into a repository ( svn import ), they get new timestamps. So when I checkout these files into a working copy, they have those new "last modification date". I would like to preserve the original files' timestamps. Is it possible with SVN 1.6.x? 回答1: You can set the svn:date revision property to simulate any commit time. See SVN commit

Merge sources from branch to trunk. Change trunk with branch

非 Y 不嫁゛ 提交于 2019-12-24 17:18:56
问题 We need to merge changes from branch to trunk. And we do not need any changes that we did in trunk since branch was created. 1. We do not need to merge sources - we need to replace sources in trunk with sources in branch. 2. We do not need files and directories that was created in trunk but does not exist in branch(or was deleted in branch). How it would be better to merge sources in this case? For now I have trunk and branch b1: http://svnhost/svn/mtest/trunk http://svnhost/svn/mtest