svn

compare a directory of files with an svn revision

If I have a directory of files (with subdirectories) that is not under source control (no .svn directories), is there any way to compare it with a revision in svn (i.e. "svn diff")? Similar question: if I have a directory of files that is under source control, can I do a diff to a different URL than the one it was checked out from? ...

Size of individual folders in svn

How can i find the size of the folders in svn individually. Is there a way to limit the size of the folders?Say in case I have 10 folders, can I limit their size so that people using it have a limited space? ...

how is the definition of 'Commit...', 'Apply Patch' and 'Share Project' in Eclipse for SVN?

Everytime before connecting to svn server, there are 2 'Team' options to choose: 'Apply Patch' and 'Share Project'. Both options seem to perform the same when intializing the svn project. In addition, how is the functional difference between 'Commit...' and 'Apply Patch'? What exactly is the difference? ...

Delphi: how to lock dfm-s to not change...?

Hi! We used Delphi 6 long times ago. Our problem, that Delphi have two problems with DFMs: 1.) When some linked resource (like DataSet) will removed, Delphi many times forget to ask you that "some of the resources are linked, you need to redirect...". This happens, when the actual form is not added to the project, or it is not opened. ...

Subversion branch question

Hi, If you have created a branch and are working with the files in that branch, when you 'update' it, is it updating/merging the code in the branch with the code in the trunk? Also, when you have commited your changes to the branch, how do you update the trunk with your changes? (since you commit the changes and have to switch to the t...

Setup SVN/LAMP/Test Server/ on linux, where to start?

I have a ubuntu machine I have setup. I installed apache2 and php5 on it. I can access the web server from other machines on the network via http://linux-server. I have subversion installed on it. I also have vsftpd installed on it so I can ftp to it from another computer on the network. Myself and other users currently use dreamweaver ...

Dealing with whitespace in SVN?

All of the SVN shops I've worked in have a strict rule - replace all tabs with spaces, to avoid whitespace conflicts and variations of tabs in different editors. Is this a very common standard? Does it really make a huge difference, and is it worth the trouble to push this standard to a group of developers new to SVN? ...

Sharing the same file between different projects

Hi Everyone, For version control we currently use Visual Source Safe and are thinking of migrating to another version control system (SVN, Mercurial, Git). Currently we use Visual Source Safe's "Shared" file feature quite heavily. This allows us to share code between design and runtimes of a single product, and between multiple product...

Using a regex pattern to find revision numbers from a svn merge

svn diff -rXX:HEAD Will give me a format like this, if there has been a merge between those revisions: Merged /<branch>:rXXX,XXX-XXX or Merged /<branch>:rXXX I'm not very familiar with regex and am trying to put together a pattern which will match all the numbers (merged revision numbers) AFTER matching the "Merged /branch:r" part. ...

SVN naming convention: repository, branches, tags

Hey all! Just curious what your naming conventions are for the following: Repository name Branches Tags Right now, we're employing the following standards with SVN, but would like to improve on it: Each project has its own repository Each repository has a set of directories: tags, branches, trunk Tags are immutable copies of the the...

Web Issue Tracking & Project Management that Can Tie into SVN?

I'm looking for an alternative to redmine but with very similar features. Project Planning and Overview Works with SVN Issue Tracking Wiki & Document Management We like the style of BugNET but it lacks some more advanced features that redmine has. Anything in between? ...

SVN client side hook

Hi all, Does SVN has client-side hook support like in TortoiseSVN [1]? I need a hook to when I send a commit the browser is opened in a specific url. Thanks! [1] - http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-settings.html#tsvn-dug-settings-hooks ...

Sending Subversion Change Log Info Via Hudson

I'm trying to integrate Hudson into our development process, and everything is going smooth except for one thing. I had been using Phing to do deployments, and one of the things that was being triggered was an email to our tech support email address containing a list of all the commit messages between the last time code was deployed and...

How to apply changes without access to svn server

We are using svn for development of a large web application, and we do periodic updates to production. The production server does not have access to svn (for security reasons). What is the best way to push the changes since the last production release for a new release? We would like to avoid re-creating the whole site each time, sinc...

TortoiseSvn Merge followed by Create Patch does not include new files

I am doing a Merge in TortoiseSvn, which modifies some files, deletes some, and adds some. Next I am doing a Create Patch to create a patch file with these changes. The problem is that the resulting patch file includes only the modifications and deletions, not the adds. I have discovered a workaround. If I revert the adds and then do...

How can I do daily backups for my VisualSVN Repos?

How can I do daily backups for my VisualSVN Repos? Its on a Windows Server 2003 machine, I was thinking about just doing an xcopy of the folder C:\Repo but I'm not familiar enough with svn to know if that will cause issues. Save me SO! ...

How to make meld prefer an SVN diff over a CVS diff

We have some directories that are tracked in both CVS and SVN (loooong story). When I change a file in one of these and run meld it diffs it against the SVN version. However for some of the other developers it diffs against CVS. Is there a way to specify which one gets priority? Everyone is using Meld 1.3.0 edit: Ok, I see now that ther...

Could I check in SVN, when a specific method is changed?

I found out a method which is changed some time back and I need to find out who changed that method. Tried to check the log on the file, but last 20 revisions or so not touched this method. SVN is very slow getting revision logs and comparing them (Perforce used to be fast with these operations). Is there a way to achieve this? ...

VisualSVN pre-commit rule

Using this hook with VisualSVN, added to the Repository/hooks folder as pre-commit.bat My question is how do I add the rule that a comment must always start with a numeric value? I want the first part of the comment to always be the issue number from a bug tracker. Eg. "123 - this commit fixes issue 123" @echo off :: :: Stops commi...

How can I add multiple SVN Hooks

I've got several (in this case, pre-commit) hooks that I would like to have run during the same event. Right now, they are all just shell-scripts, so I know I could just concatenate them to get them all to run. In the future though, additional scripts may be written in Perl, PHP, or some other language as well. How can I run several dif...