svn

Git SVN clone with complex structure

 ̄綄美尐妖づ 提交于 2019-12-24 08:48:00
问题 I need to clone an SVN repository to git. The SVN repository is structured as if it's a repository of repositories, like so: SVNRepo |____ProjectA | |___branches | |___tags | |___trunk | file |____ProjectB | |___branches | |___tags | |___trunk file I need to clone the repository so that I end up with a single git repository, without the svn specific folders (branches, tags, trunk). I originally dumped then split the SVN repo into separate repos for each project and migrated to git using git

No index in Eclipse CDT project checked out from SVN

淺唱寂寞╮ 提交于 2019-12-24 08:37:13
问题 I have checked out a cross-compilation project from SVN on Eclipse (on a Linux system). I am unable to open a functions declaration from the functions's right-click context menu (or by pressing F3). Upon research, I found out I don't even have anything like Index -> .. in the project's right-click menu. I have tried a lot with the Preferences -> C/C++ -> indexer but no useful results. I am not using Eclipse to build it but there are no errors since I can build it using makefile PS: Though

Ignoring files and folders in an svn-controlled folder?

家住魔仙堡 提交于 2019-12-24 07:43:19
问题 I'm using svn on a mac. I'm trying to add an eclipse project to a repo. I want to ignore all .class files, and a few subfolders. I am using an ignore.txt file which (kind of) works. My folder structure, for example: project/ extras/ test.class zips/ blah.class ignore.txt then my ignore.txt file looks like this: *.class extras/zips so "blah.class" is ignored which is perfect, however, the "zips" folder is not ignored, nor is the "test.class" file within it. I guess I have to create an ignore

Subversion: Can I tell the conflict resolver, to look for structural changes not on the incomig, but on the local files?

岁酱吖の 提交于 2019-12-24 07:17:09
问题 Note: The underlying situation of this question is also part of a slightly different question here. Situation I have a trunk, where earlier, a branch has been made from. Then, in the trunk some file renamings have been made. These renamings were accidentially made by "copy/delete", not with the proper svn rename process as they should have. This is described in the TSVN docs, and in my case the "Repair move" was omitted. Now I have tree conflicts, when merging the branch back to the trunk:

How to control changes to tags in SVN server on Windows

自作多情 提交于 2019-12-24 05:55:02
问题 We use VisualSVN Server 2.5.6 on Windows (important!). Most of our SVN repositories have the standard structure: /trunk /branches /tags We want: allow people to create new tags forbid them to modify existing tags Don't ask... sometimes they really try to Commit a change to existing tag )) I found a really nice pre-commit hook - svnperms.py from standard hook scripts Example 2 from the configuration file is probably what I need: [example2] trunk/.* = *(add,remove,update) tags/[^/]+/ = *(add)

What to do when your ant build process craps on your Version Control

断了今生、忘了曾经 提交于 2019-12-24 05:48:46
问题 So I've got a nice Java project, build with Ant to a /dist folder. The whole project is under version control, so I can deploy the latest version just by 'svn export' on the path to the dist folder. But my build keeps deleting the .svn folders inside my dist folder, and all its dependents, because it cleans out the folder when building instead of just overwriting. The precise culprit is JarBundler, the Ant task that builds my mac.app bundle - It deletes the whole bundle's folder before

how to compile code from svn into jar file?

折月煮酒 提交于 2019-12-24 05:35:24
问题 I found HTMLUnit is useful for me,but the files are too old. So I use svn co https://htmlunit.svn.sourceforge.net/svnroot/htmlunit htmlunit to check the code,But I don't know how to use them. Is there somebody can tell me how to compile them? 回答1: I see you have very little knowledge of Subversion. I could link you to lots of verbose documentation, but let's make it quick and easy: what you downloaded is the whole repository , containing lots of redundant code, majorly the three canonical

If statements in .htaccess files, to enable password protection when in specific directory only

孤街醉人 提交于 2019-12-24 05:22:24
问题 I have 2 copies of my website synced with Subversion. One live version and one developer version. What I like to do is to password protect the developer version, using a .htaccess file: AuthType Basic AuthName "Restricted Files" AuthUserFile ../.htpasswd AuthPGAuthoritative Off Require user dev Is there a way to sync this .htaccess file to the live version without the password protection there? I was thinking about something like [if file exists ../.htpasswd] AuthType Basic AuthName

If statements in .htaccess files, to enable password protection when in specific directory only

旧巷老猫 提交于 2019-12-24 05:22:02
问题 I have 2 copies of my website synced with Subversion. One live version and one developer version. What I like to do is to password protect the developer version, using a .htaccess file: AuthType Basic AuthName "Restricted Files" AuthUserFile ../.htpasswd AuthPGAuthoritative Off Require user dev Is there a way to sync this .htaccess file to the live version without the password protection there? I was thinking about something like [if file exists ../.htpasswd] AuthType Basic AuthName

svn ci multiline message log/text file with log message

↘锁芯ラ 提交于 2019-12-24 04:52:19
问题 I have this problem when I do svn ci -m "Message text multiline" dir/ I want the log message to look like: fixed: -bug 1 -bug 2 -bug 3 Instead I get: fixed: -bug 1-bug 2- bug 3 This is caused because I can't insert a newline (\n\r) in the log message. I use putty for the SVN. I searched a little bit and I saw that for the echo command there is a solution: echo -e "new\n\rline" will output: new line Also I saw there is a way instead of -m "message" to specify a text.txt file where I can put