svn

How can a SVN repository become corrupt?

A few times already, I got into situations where one of my SVN repository got corrupt and we could do anything with some versions or branches of the project without really knowing what we did. So I'm asking what can cause a repository to become corrupt? ...

How do I dump one project out of a SVN repository which contains multiple projects

I am working with a SVN repository with many projects. I need to move a few of the projects out of that repository into individual repositories, one for each project, keeping the history. I've been able to use svnadmin dump to dump the entire repository and svnadmin load it into another repository, but I can find a way of dumping only on...

Which eclipse files belong under Version Control

Which eclipse files is it appropriate to put under source control, aside from the sources obviously. In my project, specifically, I'm wondering about: .metadata/* project-dir/.project project-dir/.classpath project-dir/.settings/* If there are any of these for which is depends, please explain your guidelines. ...

How to wean myself from FTP in favor of Version Control

I have heard that uploading your website with FTP is now for n00bs, but it's the only way I've known how for the 8 or so years I've been building websites. Apparently all the buzz now is using a version control system, like SVN or Git, and somehow using SSH to upload only the files that have changed (if I understand correctly). I'm won...

Are subversion externals an antipattern?

Subversion lets you embed working copies of other repositories using externals, allowing easy version control of third-party library software in your project. While these seem ideal for the reuse of libraries and version control of vendor software, they aren't without their critics: Please don't use Subversion externals (or similar ...

Which do you like - Visual SVN or Ankhsvn?

Putting aside the fact that one is open-source, which tool is more feature rich and performant for SVN support within Visual Studio. ...

Unable to commit to Subversion

I have a client who had to rebuild his automated build server. He checked out his project folder from my subversion server but is now no longer able to commit - he gets this error: Error: Commit failed (details follow): Error: Cannot write to the prototype revision file of transaction '551-1' because a Error: previous representatio...

How do I find how much SVN traffic I'm using?

At my office we have an SVN server set up and I'd like to know how much traffic it is using. I'm not interested in the bandwidth, just the total number of 1s and 0s the SVN service is sending/receiving. The data will all be going via the svn:// protocol, and the server is running XP pro. ...

SVN repository and metadata

At the moment we are checking out our php producation code straight into www. With this we get all the Netbeans meta data and project files that are needed for the site, we have to constantly rm the metadata files from www so they are not accessible from the browser, same goes for all the svn metadata and files too. Is there a way of che...

SVN merge problem with "svn:mergeinfo" property

Hello! I have one big problem with merging - it falls on start with strange message: "Server sent unexpected return value (401 Authorization Required) in responce to PROPFIND request for '/svn/autogroup_projects/.../Data.sln'". Really that folder is not exists in the branch, but we had it in trunc (it modificated separately). And that...

SVN - How do I change the HEAD to a previous revision

We've got a situation where someone (not me...really :)) really screwed up a Commit to our SVN server...lot's of files deleted, etc. Question: What is the technique for making the previous (to the bad Commit) revision the HEAD revision? I've seen discussion here on SO for doing this for 1 file, but we'd like to make it like that last c...

What are the best practices for database scripts under code control

We are currently reviewing how we store our database scripts (tables, procs, functions, views, data fixes) in subversion and I was wondering if there is any consensus as to what is the best approach? Some of the factors we'd need to consider include: Should we checkin 'Create' scripts or checkin incremental changes with 'Alter' script...

How can I merge in a new folder structure to SVN?

We have a project where a vendor produces some custom code for us and we produce the backend content. Every time they ship us a new version, we manually merge that whole folder structure into our repository. This is easy for added and modified files (just copy/paste), but I have to create a batch script to delete all the files/folders th...

List all files changed by a particular user in subversion

Hi Is it possible to get a list of all files modified/added/deleted by a particular user? The goal is to get an idea of what a user did for the day (or date range). ...

Explaining SVN to non-programmers

I work with a number of new tech support folks. Sometimes, they like to fix small issues which may not be a high priority for our developers. This requires teaching SVN basics to non-programmers, which I've found can get a little tricky. What resources have you found useful? Are there diagrams you typically utilize to teach SVN? ...

What is the maximum password length in Subversion?

If I am storing the Subversion user names and passwords for repository access in a text file in the conf folder, what is the maximum length of the passwords I can use? That is to say, how long can the secrets in the following file be? [users] harry = harryssecret sally = sallyssecret ...

Bazaar and $Id$

Most my sources are in subversion and I use '$Id$' to add revision information to those sources. Then I can easily check what sources were used (e.g.. --version option shows that info). Now I'm going to use bazaar and I can't find such a functionality. Is there any equivalent of svn '$Id$' in bazaar? ...

svn: Path does not exist in revision

I want to create tag in subversion. On the command line I have tried the following: svn copy http://myserver.mycompany.com:8080/svn/SVN_Main/trunk http://myserver.mycompany.com:8080/svn/SVN_Main/tag/Build-5.4.3.2 -m "Build 5.4.3.2 tag" I get this error: svn: Path 'http://myserver.mycompany.com:8080/svn/SVN_Main/trunk' does not exist f...

SVN says I need to perform cleanup, but the cleanup fails

When I try to commit: Error: Working copy 'D:\Webs\Drupal 6' locked Error: Please execute the "Cleanup" command. When I try to do a cleanup: Cleanup failed to process the following paths: D:\Webs\Drupal 6 Does anyone know how I can solve this problem? Duplicate: http://stackoverflow.com/questions/127932/svn-working-copy-xxx-lock...

How to drop and create new repositories with a subversion server?

Ok so I just did something boneheaded. I'm setting up a subversion server for the first time ever that will be used by contractors. I did the 1 click setup, created my project and did my first check in of our application thinking that I'll go through later and remove the password information in the connection string in the configuratio...