svn

Consequences of not using --reintegrate with svn merge back to trunk

天大地大妈咪最大 提交于 2019-12-21 15:26:11
问题 I'm new to subversion. Over the last month I had done some changes and merged them to trunk. Everything seemed fine - my changes got propagated as expected. But today I was re-reading about merging and saw this, saying the following when merging your changes back to trunk: Now, use svn merge with the --reintegrate option to replicate your branch changes back into the trunk. and a few paragraphs later: Notice our use of the --reintegrate option this time around. The option is critical for

SVN Branch level commit permissions

我是研究僧i 提交于 2019-12-21 15:13:21
问题 We have multiple development branches and want to restrict commits to a particular branch to only a specific group of developers. Is it possible to restrict access at a branch level in SVN? 回答1: Yes it is. You must configure in the svn config file called 'authz', located in the repository folder or directory. You can specify specific permissions by doing the following [/branches/branch-name] harry = rw sally = r Hope it helps. 回答2: You can use commit hook to check for paths, so only selected

SubGit: How to exclude branches?

偶尔善良 提交于 2019-12-21 13:22:48
问题 I'm testing SubGit as a way of migrating from SVN to Git. What I would like to do is be able to create remote branches in the git repository that all users can use that does not sync back to SVN. I only want SubGit to track the master branch and sync it back to SVN so that we have the freedom to use and share other Git branches. Is there a simple way to do this? Thank you 回答1: The ideal solution would be specifying trunk:refs/heads/master mapping in SubGit configuration, so SubGit would

SubGit: How to exclude branches?

我的梦境 提交于 2019-12-21 13:22:17
问题 I'm testing SubGit as a way of migrating from SVN to Git. What I would like to do is be able to create remote branches in the git repository that all users can use that does not sync back to SVN. I only want SubGit to track the master branch and sync it back to SVN so that we have the freedom to use and share other Git branches. Is there a simple way to do this? Thank you 回答1: The ideal solution would be specifying trunk:refs/heads/master mapping in SubGit configuration, so SubGit would

SVN checkout fails with “chunk delimiter was invalid” - what can be done?

…衆ロ難τιáo~ 提交于 2019-12-21 12:55:58
问题 In the middle of the checkout ( http://aima-java.googlecode.com/svn/trunk/ ), the client stops with an error, the exact error message reads: org.tigris.subversion.javahl.ClientException: RA layer request failed svn:REPORT of '/svn/svn/vcc/default': Chunk delimiter was invalid I have googled the error but was unable to find a solution. The only thing I am now aware of is that the issue is somehow caused by incompatible svn versions. I use svn 1.6.12 from the regular ubuntu repo. The error is

How does git-svn behave with svn repositories that have changed layout?

冷暖自知 提交于 2019-12-21 12:42:56
问题 This question is similar to this one and this one, but the scenario is slightly more complex. I started out a few years ago with a private svn repository (which I use mainly for shared config files and the like between various machines). I wasn't too careful with the layout of the repository (where branches, go, etc.), so it changed quite a lot over time. This was, of course, a mistake, but it's too late now. More recently, I've migrated it to a more standard svn trunk/branches/tags layout,

How does git-svn behave with svn repositories that have changed layout?

China☆狼群 提交于 2019-12-21 12:41:12
问题 This question is similar to this one and this one, but the scenario is slightly more complex. I started out a few years ago with a private svn repository (which I use mainly for shared config files and the like between various machines). I wasn't too careful with the layout of the repository (where branches, go, etc.), so it changed quite a lot over time. This was, of course, a mistake, but it's too late now. More recently, I've migrated it to a more standard svn trunk/branches/tags layout,

how do I create a dump file from my subversion hosting account?

大城市里の小女人 提交于 2019-12-21 12:38:07
问题 I have my SVN repository hosted somewhere. I want to move to somebody else. How can I create a dump of my repository so I can import it into my new host? This is all I keep seeing: svnadmin dump /path/to/repos > repos.dump My repository is hosted, so it's not local. 回答1: svnadmin dump is the recommended way to migrating your repositories, but you'll need shell access to do it, otherwise you will have to contact your hosting provider and ask them to do the full repository dump for you. 回答2:

How do I find the revisions made by a specific Subversion user?

感情迁移 提交于 2019-12-21 12:18:06
问题 Using the command line, I'd like to see all changesets made by a particular user. Is this possible? I've looked at the documentation for svn log but can't see how to do this. 回答1: I don't know of any way to do this using pure Subversion. But you can do it with sed: svn log | sed -n '/username/,/-----$/ p' This finds each instance of the username, and then prints everything up to the dashed line which marks the end of a record in the log. The search pattern is very flexible - you can easily

Calling SVN commands from a java program

99封情书 提交于 2019-12-21 12:11:15
问题 I want to call SVN commands (update , commit) from a java program. any help ? SVN : Tortoise SVN Environment : java program will be running inside a jBoss server. 回答1: It's a really, really bad idea to use a GUI SVN client from within an app server. While TortoiseSVN can be scripted, it's still a GUI application, and an unexpected situation can cause it to pop up a dialog on your server (and some tasks may always open a dialog). It,s much, much better ot use a Java implementation of SVN, such