svn

Grails applications and version control

喜夏-厌秋 提交于 2019-12-21 12:08:57
问题 Which directories/files should be excluded when placing a Grails application under version control? I don't want non-source files or artifacts to be carried in SVN for my project. 回答1: here's my .gitignore (it probably contains alot of junk) .idea/ stacktrace.log test/reports/ etc/errors.txt bin-groovy/ .classpath .project *.war web-app/plugins/ web-app/resources/ classes/ test/reports/ Note that this is for grails 1.1.1. (I think before grails 1.1, plugins were stored in /plugins instead of

Get changed files from svn command line between two dates

给你一囗甜甜゛ 提交于 2019-12-21 11:38:02
问题 I need to get the changed files list between two dates in SVN. I have used the below command.. svn diff -r{2011-10-12}:{2011-10-28} --summarize https://svn.blah.com/../ > output.txt from some reason the files modified on 28-10-2011 are not populated in the output text file. Could please give the exact command to extract the files list between the two dates (inclusive of from and to dates) 回答1: this is normal, when you give the date {2011-10-28} it means "on midnight"... thus specify one day

I upgraded SVN::Core via CPAN and now git-svn doesn't recognise http:// URLs

半腔热情 提交于 2019-12-21 11:25:46
问题 I was trying to update version of Subversion used by git svn and so I ran the following command. > cpan SVN::Core It appeared to work; however, now git svn doesn't recognise HTTP URLs! > git svn rebase Bad URL passed to RA layer: Unrecognized URL scheme for 'http://<...>' at /opt/local/libexec/git-core/git-svn line 2265 I've tried it on svn:// URLs and it works okay. Does anyone know how to fix this? I'm running OS X 10.6 and using MacPorts for git, subversion, perl, and cpan. 回答1: SVN::Core

How to quarantine a specific subversion revision?

你说的曾经没有我的故事 提交于 2019-12-21 11:24:08
问题 I have a revision that has been committed to SVN trunk which I would like to roll back. However, I would like to retain the changes in some fashion such as a branch or even a patch file. Any suggestions? 回答1: Reverse-merge (I think that was the term), commit and that's all. For the "reverse-merge" part - TSVN has this cool feature called "Revert to this revision" (and "Revert changes from this revision"), accessible through the Log dialogue. The main purpose of a VCS is to keep history of

Best practices for version control for Lotus Notes/Domino development

不羁岁月 提交于 2019-12-21 10:22:40
问题 Please share how you do version control for Lotus Notes/Domino development. I want to put in our SVN repository all the scripts, views, custom forms, script libraries, etc. Semi-automated methods are accepted as well (i.e. if I find a way to get all the event scripts for a form in one file, and to be able to place it back in Notes Designer as a whole file). 回答1: The openntf project Design Catalog can be used for version control. It uses dxl technique mentioned by kerr. www.openntf.org

Best practices for version control for Lotus Notes/Domino development

泄露秘密 提交于 2019-12-21 10:22:34
问题 Please share how you do version control for Lotus Notes/Domino development. I want to put in our SVN repository all the scripts, views, custom forms, script libraries, etc. Semi-automated methods are accepted as well (i.e. if I find a way to get all the event scripts for a form in one file, and to be able to place it back in Notes Designer as a whole file). 回答1: The openntf project Design Catalog can be used for version control. It uses dxl technique mentioned by kerr. www.openntf.org

How do popular source control systems differentiate binary files from text files

拈花ヽ惹草 提交于 2019-12-21 09:54:45
问题 Looking for articles, documentation or straight head knowledge of how different source control systems differentiate (or detect) the type of file (binary vs. text). Of particular interest is how Git does it vs Mercurial. Do they look at: File extensions? File signatures or content (ie. is this file UTF8)? A mix of things? 回答1: SVN: When you first add or import a file into Subversion, the file is examined to determine if it is a binary file. Currently, Subversion just looks at the first 1024

Working directory structure for SVN Visual Studio repository

£可爱£侵袭症+ 提交于 2019-12-21 09:36:04
问题 I just introduced SVN in our company for our Visual Studio projects and created a repository that looks like this ("solution" is Visual Studio solution, containing 1..n projects): /solution1/trunk/projectA/... /projectB/... /solution2/trunk/projectC/... /customerX/solution3/trunk/projectD/... /solution4/trunk/projectE/... /projectF/... Now, I have two options to structure the local working directories: Option A : Let the user checkout each solution separately using AnkhSVN, leading to a

Auto-Back Up of Subversion Repository

纵饮孤独 提交于 2019-12-21 09:30:04
问题 How do I backup my Subversion Repository nightly? I have a network drive I'd like to dump the repository to on a nightly basis. 回答1: Check out the Repository Maintenance chapter in The Book on how to pull a dump out of the repository. Then use a timed service ( at or cron for example, or the very nice task scheduler in Windows OS's, depends on your server's system) to execute the dump nightly. Done. 回答2: The SVN book has a section on Repository Backup. The svnadmin hotcopy command allows you

Git-Svn dcommit causes branch splitting

左心房为你撑大大i 提交于 2019-12-21 09:23:13
问题 I'm having a problem with git-svn dcommits making the git repository lose track of which commits are which. I try to make sure that the master branch in git always follows trunk in the SVN repository. So whenever I'm working, I'm on a topic branch. Here's my scenario: Working in a topic branch for a while git checkout -b my-topic git commit -m "blah blah blah" Then I decide I'd like to merge my branch back in to master git checkout master git svn rebase #get any changes in svn git rebase