svn

Netbeans lack of SVN Add

I've been driving myself crazy over the past few days over this one. We've just finished setting up a Hudson Continuous-Integration server. So it runs a build script each and every commit to validate the commit. The issue is that it validates that all the files in the repo have both the svn:keywords = "Id" and svn:eol-style = "LF" pro...

How can I diff two arbitrary revisions in Mercurial in such a way that I can apply the diff to an SVN working copy?

The system of record is an SVN repository, but for whatever reasons, I've pulled the repository into Mercurial. I don't want to use the hgsubversion extension because it doesn't recommend creating extra clones and branches and so forth. I would like to be able to do my own development in Mecurial however I wish and then apply a giant pa...

Have a SVN checkout location connected to Codeplex and propagate updates to another develpment location connected to another SVN repository

I would like to checkout a read only SVN projects (e.g. from Codeplex) to a folder on my local disk, open the solution (let's say I am getting Dotnetnuke and open it's solution, add some projects to the solution and possibly changing some files, previously making them writable. I want to regularly update the changes coming from Codeplex ...

What should I actually *do* in AnkhSVN when two people edit the same file under SVN

Our code is in SVN. We develop using Visual Studio and the AnkhSVN plugin. Having used VSS before SVN I was used to the idea of locking files so other users know not to edit it while you are (in fact I thought this was the main point of source control, to prevent lost data from these conflicts). I've been told this rarely happens and c...

add global revision number in php source files

Hi I want to replace a global revision no (head) in my PHP source files whenever I make a checkin (or update) for example I have below code <?php print 'Rv no : $glbRevisionNumber$'; ?> in all the php files that have under one folder eg. myapp/* the $glbRevisionNumber$ should get replaced with the current head revision number. H...

Can keyword substitution be used for getting the revision number of the entire codebase, rather than a particular file?

Hi, I want to know that can keyword substitution method be used to know the revision number of the entire repository, instead of getting revision number for a specific file only. How can we used Keyword substitution with PHP. ...

How to use pre commit hook in SVN to return revision number of the repository?

Hi , I need to know how to use pre commit hook of svn. I need SVN revision number to be used in php files. Please guide how does pre-commit hook work. ...

Managing environment configuration with ant/svn

If a project depends on other libraries whose locations are non-standard, where should the locations be stored? My current solution is to have something like this at the top of the Ant build.xml script: <!-- change these properties to point to the correct library locations on your system --> <property name="lib.foo" location="${user.hom...

subversion branches with multiple Scrum teams

So we have varying opinions on how to deal with our source in regard to parallel Scrum teams sprints. The background info is we have two 7 man teams working on the same baseline of code in 2 week iterations towards the same product release. Team A: In one camp we have the preferred approach being: Each team work in its own branch and at...

How can shared folders using VMware Workstation 7 access hidden filenames?

For our build machines, we run VMware Workstation. We have source code checked out in a shared folder (shared from the host using VMware). In the builds we do svn operations like update etc. This worked fine until updating to Workstation 7. Now we get errors like this: svn: In directory 'E:\bitten\winxpbitten\bitten\j5-trunk\j5\Sites\C...

Ignoring folders in TortoiseSVN...?

Using SVN you can right click a folder "TEST" and add it to the ignore list. Does that make SVN inore all folders named "TEST" in the project? I have a project with many different directories and within almost all these seperate directories is a folder named "TEST", is there a way to set the svn:ignore to make SVN ignore every folder n...

Policy for storing configuration files in SVN

The majority of our C# projects configuration is kept in *.ini files. Mainly these files hold many sections affecting all aspects of programs behaviour. But besides of regular configuration data some of sections are vulnerable like db connection string or server password. We try to keep this sections in following forms: [Database] user=...

Diff tool which can ignore comments/exclude revisions?

I'm looking for an SVN diff tool which can ignore comments as changes, as well as exclude specific revision diffs for easier file comparison. For example, see below. Version 1. This is a sentence Here is an address What's going on here Version 2. 1 This is a sentence 2 Here is an address 3 What's going on here Version 3. //added ...

How to configure subversion auto-props for unix scripts with no .sh suffix?

Not all of my bash shell script end in .sh. Some have no suffix at all. In my subversion auto-props configuration I have... *.sh = svn:eol-style=native;svn:executable;svn:keywords="Author Date Id HeadURL Revision" ...and it works. But how can I configure it to also pick up the shell scripts with no suffix. In my case they are the ...

SVN: How to undo a reverse-merge?

I merged my checkout of the HEAD revision back to revision 1000: $ svn merge -rHEAD:1000 . --- Reverse-merging r2000 through r1001 into '.': U dir/foo.txt After that, I'd like to undo that and merge back to HEAD revision. My checkout should be at revision 1000 now, so I need to merge everything from 1000 to HEAD. But svn doesn't do...

svn storage compression

Hi guys, I've just moved to subversion. I've read somewhere svn transfers and stores data in a compressed form. I know compressed transfers mean 'http:' compression with apache. Does storage compression mean lazy copies and keeping only deltas for revisions, or is there a real compression like gzip used by subversion live for the stora...

Subversion for beginners

Hi! I'm doing a web project when I discovered that I need to save my other versions of a file I'm editing so I can easily revert back if something odd happens. I did a little research and found Subversion. But I really don't get the idea of Subversion. Please help me! I'm thinking twice if I can really use it for my project or not. I wan...

Does an iteration in Scrum equivalents a tag under SCM?

Hey, I know this question is silly but I just want to make sure. Does each iteration (the end of each sprint) in Scrum equivalents a tag under -say- Subversion? Thanks for help and time. ...

How to make 'svn log' ignore property changes?

'svn log' shows the log of: 1) files whose content has changed AND/OR 2) files whose properties have changed. Is there a way to show only files for which case 1 applies? ...

Post export SVN script, possibly with TortoiseSVN that renames exported files

Been searching and reading for this solution, but didn't find one. Or not the best one. What i would like to achieve: In our SVN Server, we will use tags as project official releases. At some point, we will export the latest tag folder, which will contain all documents that have been tagged till then for Assessment. When the export is d...