svn

What is the best practice regarding Source code managment ?

We are geographically diverse team of software developers working on an ERP system. We are using SVN as a version control system. We have 4 environments before the code moves to production system. I want to know what are the best practice, regarding BRANCHING, MERGING when using SVN in such situation. Currently we face a problem tha...

Getting TortoiseSVN to set a file's modified time to the timestamp of the latest revision

I seem to remember being able to get Tortoise SVN to set the last-modified timestamp for files to the timestamp from the revision when performing an update. So if someone committed a file 5 days ago and I update it, the modified timestamp will be 5 days ago, not today. Except for the life of me I can't remember/find where the option is....

Putting Subversion Repositories in Subdirectories?

If I have a /repos directory and inside I have X repositories setup and running, am I able to add /repos/TeamX/Project1, /repos/TeamX/Project2, etc where TeamX is a directory and not a subversion repository? If yes, how do I setup the permissions in my configuration file? [TeamX/Project1:/] @TeamX = rw This is not working for me. ...

Recover empty SVN DB file

Hi, I tried to dump our SVN repository so I could migrate it to newer hardware. One of the revisions gave me a problem though so I tried to skip or "jump" that revision dumping from that number to a higher revision number but the problem persisted: *svnadmin: Can't read file 'D:\repositories\REPO_NAME\db\revs\3677': End of file found* ...

Multi-domain Subversion Deployment on Media Temple DV

This is a question pretty specific to Media Temple DV servers, but I'm hoping someone out there can help. Our deployment process on a DV server involves ssh'ing in and doing a Subversion checkout into a folder called "svn" and then creating a symlink in "httpdocs" to point to a release folder in that "svn" folder. I'm wondering if it's p...

Any reasons to still use CVS?

Given that Subversion has basically been written to replace CVS, are there any compelling reasons at this point to continue using CVS for version control? ...

How can I get the previous version of a particular file currently in the SVN working folder using SharpSVn DLL in C#.net ?

I wish to display the currently checked out file and the same file in its immediate previous version so that the user can get a chance to compare the two files manually and later merge the changes to the Subversion(SVN) repository. Is there a sample code to do that using Sharpsvn DLL ? ...

Can Hudson be configured to build every revision?

I've started experimenting with Hudson as a build server. I'm using subversion and have it configured to poll every minute. The issue I'm seeing is that if a build at revision 10 takes 5 minutes and there are 5 commits during that time, Hudson will next build revision 15. Is there a way to ensure every revision is built? ...

how do I integrate a branch into a trunk if the folder structure has changed?

I need to intergrate a branch into the trunk but the folder hierarchy of my trunk changed in the meantime. I should still be able to merge sub-folders which preserve the original structure, but when I try I get an error. Example: Original structure when branch was created: svn/trunk/dir1/dir2 --> svn/branches/b1/dir1/dir2 renamed:...

SVN\Tortoise painfully slow

I'm experiencing painfully slow operations with one of our svn repositories\projects. For example its taking 5-10mins to revert the changes in one small file (10 KB). Or about 40-60mins to check out the project of 100Mb. There is about 30 other project on the same server some vastly bigger than this one, and none of them preform like ...

Can I make git-svn import a Subversion repository which itself contains git repositories

I have a project in SVN which has a plugins folder. Several of the plugins folders are git repositories -- I added them to my plugins folder using git clone. This has been working well for me but now I'm looking to migrate my SVN repository to git using git-svn: git svn init http://path/to/my/repo --no-metadata git config svn.authors...

Subversion for SourceSafe users

I have to do some migration training for developers tomorrow who have only ever used VSS. It's been a long time since I used VSS in any capacity and I'm concerned I'll miss a lot of obvious stuff. What I want is a list of things you would want to know if you were going to move to VSS. What would you mention if you were tasked with traini...

svn ignore without deleting files?

how can I ignore files from my svn repo without deleting them as well? When I work on existing projects I often have to setup a local version of the project and using my local database as well. With drupal for instance, I checkout the svn repo, change the settings.php file to match my local database, but now I have to make sure I do not...

CruiseControl.net reports SVN locked exception

I am trying to setup a CruiseControl.net (version 1.4.4) server on a machine with Windows XP SP3. The source is contained in an SVN repository on a different server. The svn client I am using was installed through the Cygwin tools. I am able to get CruiseControl.net successfully installed and configured up to getting the Subversion part...

Problem connecting to SVN repository

Okay. Just looking for some advice on how to debug a problem with connecting one machine to an SVN repository. Here are the details: (1) Two of our machines successfully connect to the SVN repository, but one machine does not. (2) We are all using Windows XP and are using the TortoiseSVN client. (3) We all were able to connect from ...

SVN Repository Structure and Shared Assemblies

We are trying to restructure our SVN repository and include a lib folder under the trunk to house assemblies that the project depends on. I am curious to know how you guys are dealing with shared assemblies? Do you have multiple copies of them that span across different trunk lib folders? Do you have some kind of build process that will...

Migrating complex SVN branch hierarchy to Mercurial

Our team has been using SVN for managing an application of decent size and over time a rather complex hierarchy of branches and tags has built up, which is following the basic standard layout for SVN repositories, but is more nested: |-trunk |-branches | |-releases | | |-releaseA | | `-releaseB | `-features | ...

ASP.NET Projects with Subversion (VisualSVN Client) - What files should I ignore?

I've just started using Subversion with ASP.NET web applications via the VisualSVN IDE plugin. There are a bunch of files which Visual Studio automatically generates so I don't want to version control these since they're not really part of the codebase and not required to build. Does anyone have a definitive list of the main files that ...

Source control - VSS 2005 or Subversion?

Possible Duplicate: Reasons to use Subversion over MS Source Safe I'm looking to implement source control for my personal projects. I am the only user so concurrency requirements are little to nothing, but who knows maybe i'll hire someone to help me in future work so it would be nice to implement something that will scale if I...

Ever need to parse the svn log for files committed by a particular user since a certain date?

If so the following one-liner utilizing awk might provide a useful template svn log -v -r{2009-05-21}:HEAD | awk '/^r[0-9]+ / {user=$3} /yms_web/ {if (user=="george") {print $2}}' | sort | uniq ...