svn

Exclude Eclipse's hidden .settings directory from commits when using TortoiseSVN

I'm using the TortoiseSVN client and Eclipse. When I attempt to commit a Eclipse project TortoiseSVN displays a .settings directory in the file list and says that it is un-versioned. The `.settings' directory seems to be where Eclipse keeps all of it's settings for a project. Is there a way to exclude this directory so that it is comple...

SVN revert from within a NAnt script?

I thought this would be a simple task, but I'm currently unable to get it to work. There are built in functions such as <svn-update> etc. But not for revert it seems? I have tried using the following but get an error that I have no supplied enough parameters. <svn command="revert" destination="${root}" uri="${build.repos}" username="${...

Setting up svn in retrospect on a production system

I've got a production environment in place that was deployed using a tarball before the subversion trunk was made available. Now that it's up and running I still want to have an svn available so that I can immediately commit any changes made. Since the svn project has been created nothing has changed. Is this possible without disruptin...

How to identify and potentially remove big binary commits inside an SVN repository?

I am working with an SVN repository that is over 3 years old, contains over 6,100 commits and is over 1.5 GB in size. I want to reduce the size of the SVN repository (I'm not talking about the size of a full SVN export - I mean the full repository as it would exist on the server) before moving it to a new server. The current repository...

How can I update SVN keyword substitutions in files other than the modified file?

OK, so I know you can put $Revision$ in a file, and then set the svn:keywords property on that file so that whenever the file is committed, that variable is replaced with the last committed version number. I'd like to use this concept to implement a smart caching layer for my template files. I plan on using the svn revision number as pa...

svn: Authorization failed

I installed SVN in Windows XP, I got the error when I create a project, any idea? C:\svn\bin>svn mkdir svn://localhost/myproject -m "some msg" --username user1 --password pass svn: Authorization failed here is the config file in svn. svnserve.conf anon-access = none auth-access = write password-db = passwd passwd [users...

svn diff when files are marked with "history scheduled with commit"

I have changes on a branch that I have merged to trunk in my working directory. Svn stat shows the correct list of changed files. However, the "svn stat" output includes a "+" in the history scheduled for commit on each file added new to the branch. A + src\main\java\com....java When I run "svn diff", the added files that hav...

Problem on SVN commit

I am a new user with SVN, and I meet a problem on SVN commit command. I use TortoiseSVN 1.6.6, and Ubuntu Subversion image with WMware as server. I did create a repository on SVN server, and I can easily checkout files from the repository, but commit. When I do commit, it always shows the problem. Command: Commit Error: Commit f...

Alternative methods of commiting in SVN

Hi, I'd like to find out what other methods are there to commit to a SVN repository? For example, I have some diff between files, svn status shows them clearly. Instead of svn committing, I'd like to have the diff exported into patches, for incremental commitment, say over 2 computers through a thumb drive. Is this possible? What about...

The svn repository I've imported into git using git-svn has moved

I'm working with a git repository using git-svn. Everything went fine until the day the maintainers of the svn repository decided to move the repository to a different URL. How can I tell my git-svn client to fetch from the new svn repository? I've changes the svn URL in the svn-remote of .git/config but now I get the following error: ...

AnkhSVN not pulling in files created by another user in the same solution in VS 2008?

I have a VS sln with about 5 projects that I created along with the majority of the files in each project. I commit changes to SVN via Ankh and it's just peachy. Another developer just started and he can retrieve the files via VS and can also commit to the repository (I aded him as a full control user), but I can't retrieve them via Ank...

Can I use subversion in such a way that "commit" automatically updates my server files?

I would like to know if there is any way to make it so that when I commit changes using Subversion, that the changes are automatically reflected on my server in the testing folder? Perhaps this idea is irrational. I'm struggling to get a good big-picture view here. If I kept the subversion repository on the server, would that be reaso...

Using Subversion Tags to Deploy to Development/Staging/Testing Server

Are Subversion Tags a good way to post to a development or staging server? I envision this. As the trunk becomes stable, a tag is created with that build. The development server switches to that tag utilizing Subversion, updating to the latest revision of files, deleting no longer needed files, etc. The server account I envision would ...

SVN post commit hook: record number of pages in LaTeX document?

I would like to record how the number of pages of my LaTeX document grows over time. I store the foo.tex file in my SVN repository, so I'm thinking I can use a post-commit script for that, which runs LaTeX automatically (whenever changes to foo.tex are committed), extracts the number of pages and writes it into the log file. Is that ...

Best practice to manage SVN with a solution with multiple projects involved

Before I start, the following is based on knowledge gained through usage of TortoiseSVN 1.6.x and ASP.NET web projects with Visual Studio 2008 as example. Case Study Say, in a happy day scenario, a typical subversion repository structure can be somewhere similar to: /trunk /Solution1 /ProjectA /ProjectB /Pr...

How to revert back in SVN force commit

Hi is there a way to force commit in SVN? Thanks in advance ...

Exclude a file/directory from SVN in Xcode with SCM

I would like to exclude a directory from my SVN (I'm using Xcode's built in SCM). It's not checked in but I'm just tired of unselecting it from checkin. Most of my SVN experience is at work on Windows with TortoiseSVN, which has a 'Ignore' function; I assume SCM has that same option. ...

How to change from https:// to svn:// protocol in subversion server

UPDATE : svn and http protocol benchmarking is in.. How long it took to checkout the trunk of a project (in minutes and seconds).. svn protocol : 5:32 http: protocol : 5:33 svn protocol (with AVG folder exception) : 2:22 http protocol (with AVG folder exception) : 2:23 Speed Result : Absolutely nothing in it! AVG Result : However ...

How to commit on a Google code branch?

How do I commit to a Google code Subversion branch by using the TortoiseSVN thingy? Apparently I am having a problem with it because TortoiseSVN is asking for a username and password. I input the email address that I used to create the project and the corresponding password for it and it didn't work. Update: Great, I was able to commi...

CruiseControl.NET Service / Subversion - Unable to connect to remote repository

As a long-time lurker on SO, I'm popping my question cherry with a tricky one regarding CruiseControl.NET, Subversion, and a remote repository. Here's the problem: Take a remote Subversion 1.6.6 repository running on Windows Server 2008 SP2, using Apache 2.2.14 as the gateway to enable access on Port 80 and 443 - we redirect unencrypted...