svn

SVN - ignoring files already in repository

回眸只為那壹抹淺笑 提交于 2020-01-02 05:36:09
问题 I have a configuration file in my project which needs to be in the repository (so new developers get it when they checkout the project). Each developer might change some values in the file locally - these changes should not be committed and I don't want them showing in the synchronization menu (I'm using eclipse and subversive if it matters). Note that I can't just set the svn:ignore property since it only works on files that aren't under version control - but I do want to keep a base version

How to make deleting .svn directories work using ant?

心不动则不痛 提交于 2020-01-02 05:25:07
问题 I tried the example in the manual: <delete includeemptydirs="true"> <fileset dir="${DIR}" includes="**/.svn" defaultexcludes="false"/> </delete> (where DIR is set to some directory) and it does nothing. How can this be made to work? I'm using ant 1.7.0. FYI: I've tried lots of different combinations of nested elements, dirset instead of fileset and it still doesn't work. :( 回答1: Why don't you just use svn export instead? Anyway, looks like ( from here ) the following should work: <echo level=

How do I migrate a flat svn repo to git repo

纵然是瞬间 提交于 2020-01-02 05:24:06
问题 I have a flat svn repository which looks like: my_repo/ ├── file1.c ├── file2.c ├── file3.c └── README This repo has no branches, or tags and all I am trying to do is convert it to a git repository and maintain the commit history. I have tried: git svn clone --trunk=/ -A users.txt svn+ssh://user@svn.example.com/projects/my_repo dest_dir Which I assumed would work, however, when I navigate into dest_dir and perform git svn fetch , it doesn't seem to fetch anything. Using git log yields: fatal:

Accessing Subversion repository with 2 hops using svn+ssh protocol

好久不见. 提交于 2020-01-02 05:18:05
问题 My Ubuntu Subversion server is not directly accessible to the Internet, 192.168.1.2 My public Ubuntu machine is exposed through the DMZ at 192.168.1.1 I've setup port forwarding from 192.168.1.1:3906 to 192.168.1.2:3906, but I have no idea how this would work with svn+ssh since one extra hop is required to reach my Subversion server edit: For anybody going through the same problem, my confusion came because I was trying to port forward to my SVN server (running a daemon at port '3906') but

TortoiseSVN Can't Authenticate

与世无争的帅哥 提交于 2020-01-02 05:13:29
问题 After my previous problem, TortoiseSVN Can't Connect was resolved, I ran into a new problem. On the linux server hosting my svn repository, in the repository's directory, there is a conf/svnserve.conf file. In this file, I have the option: anon-access = none | read | write Initially, this line was commented out and the default value must have been read . Of course, I want to set anon-access = none , and I want auth-access = write (which is the default). But when I set anon-access = none ,

Is it possible to migrate a single file from one SVN repository to another while preserving history?

我只是一个虾纸丫 提交于 2020-01-02 04:48:07
问题 I started a small application in my personal SVN repository. It's gained enough interest that it is worth moving development to a shared group repository. Can the application (only a single file) including its history be migrated to the group repository? 回答1: Check out 'svnadmin dump', 'svnadmin load' and 'svndumpfilter' http://svnbook.red-bean.com/nightly/en/svn.reposadmin.maint.html#svn.reposadmin.maint.migrate Dump the repository with the file you want to move, use svndumpfilter to filter

How to use an Internet Subversion respository when developing code?

蓝咒 提交于 2020-01-02 04:42:06
问题 I've painted my self into a problem working with a Subversion project from CodePlex - for this I asked for help here. I have a local repository and CodePlex has it's Internet repository for the project, and the two don't mix :-(. But my dear departed dad used to tell me that the difference between a clever man and a wise man is that the wise man does not enter the trap a clever man find his way out of. In other words: I must have been doing something wrong. So: Say you're a group of a few

How do you exclude .svn directories from search in Visual Studio?

旧城冷巷雨未停 提交于 2020-01-02 04:37:16
问题 I have to "look in:" a subfolder of the project because the entire project is very large and takes too long to search through. I also have AnkhSVN installed and wonder if a setting in the plugin could help too. 回答1: If you use "Find in files" instead of the standard search, you can search a subfolder for file types you specify. However, it's a lot easier to perform this kind of task using the Ultrafind add-on (http://visualstudiogallery.msdn.microsoft.com/9fa9fdd7-1c06-45e3-a9f3-0381caab8f94)

Does Subversion 1.5 performance stink?

心不动则不痛 提交于 2020-01-02 04:11:07
问题 We've been working on a project where everyone is working off of trunk. The project has reached the point where our development team is growing and we've finally started doing client releases (all good things). So, to help co-ordinate all this we started following the SVN best practices of branching/merging etc. The problem we're facing is that merges are taking upwards of 20 minutes and very often fail with "connection reset by peer" or "PROPFIND" errors. Branching and merging are just so

free utility to script DB objects in ms sql

拜拜、爱过 提交于 2020-01-02 04:01:10
问题 I'm trying to implement database source control. the tool I need should create a separate file for each object in the database, preferably arranged in folders, like stored procedures functions views tables and it would be great being able to also dump the results of certain queries, in order to keep track of the data changes in several configuration tables... I wonder if there's is already a tool that can handle this kind of stuff... -- just to clear a few things... I'm already using sql