svn

Subversion svn update - Not working

Hi guys, I'm trying to setup subversion, so everytime someone commits a change, it updates a working directory that we'll use on a dev box as the 'test' site. I've setup post-commit, and added the line: #!/usr/bin/perl /usr/bin/svn update /home/administrator/sites/checkmyid --username root --password xxx Can anyone tell me why this ...

How to block access to Subversion server for clients below 1.6 version.

My Subversion server access is through Apache HTTP. For instance, I don't want TortoisSVN not at version 1.6 and above be able to access it. The blockage should happen for any client not at 1.6 or above. ...

What's wrong with my using svn this way?

I started svn server this way: [user@vps303 trunkdb]# svnserve -d -r /repositories/ [user@vps303 trunkdb]# ls /repositories/ trunk But when I connect to svn://domain.name it reports no such repository, but when I connect to svn://domain.name/trunk, it's OK. How can I connect to svn://domain.name ? ...

How to create svn folder in mac os x

hi, i am working on iphone project, i like to create an svn folder and link that one to my server I tried to run the below command fsp3s-MacBook-Pro:~ fsp3$ svnadmin create /ram/Code/SVN i got the below error svnadmin: Repository creation failed svnadmin: Could not create top-level directory svnadmin: Can't create directory '/ram/Co...

Visual Studio SVN integration

Is there any way to properly integrate Subversion control into VS2008? I'm currently using the TortoiseSVN shell extensions, but I keep forgetting to check in new files and it's easy to get in a confused mess. On another project I use VS2008 with SourceSafe, and it's really nice having most things automated or controlled simply by using...

How to automate svn and building process?

After we tested the code in repository is OK, how to automate the building process, say, updating the production code with those in svn? If it matters, I'm talking about PHP source code. ...

Saving svn changes for use in another computer? or backup uncommited svn changes

Say I've made changes to some files but I don't want to check them in. I want to save the changes in a batch file or some archive and then email them to another dev/myself/etc.. so that they can take a look at my changes and apply them to their working copy. Is it possible to do this? Simpler scenario Can you backup uncommited svn chan...

Copying a foreign Subversion repository to keep under dependencies

I want to keep dependencies for my project in our own repository, that way we have consistent libraries for the entire team to work with. For example, I want our project to use the Boost libraries. I've seen this done in the past with putting dependencies under a "vendor" or "dependencies" folder. But I still want to be able to update t...

Is it possible to make svn execute a script each time when someone commited something?

I've install subversion, and want to write my own script to automate the web deployment. Is it possible to trigger the script when commiting? It's neither ssh nor apache based, only rely on svnserve. ...

Integrate SalesForce with IntelliJ IDEA via SVN

Is it possible to integrate Issue tracking provider such as SalesForce with IntelliJ IDEA? A user will able to get a list of open issues from SalesForce with IntelliJ ? thanks. ...

svn working copy spanning 2 physical drives?

I have a large repository hosted on dreamhost that I backup daily on a remote machine using a windows scheduled task which updates the working copy located on an external USB 300GB drive connected to the remote machine. The 300GB drive is nearly full with only 26GB of free space remaining. Recently I added a second USB external 1TB dri...

Can GIT, Mercurial, SVN, or other version control tools work well when project tree has binary files?

Sometimes our project tree can have binary files, such as jpg, png, doc, xls, or pdf. Can GIT, Mercurial, SVN, or other tools do a good job when only part of a binary file is changed? For example, if the spec is written in .doc and it is part of the repository, then if it is 4MB, and edited 100 times but just for 1 or 2 lines, and chec...

How to implement svn's post-commit hook to automate the deployment of php web projects?

This is the default stuff in post-commit.tmpl, which I don't think do anything useful: REPOS="$1" REV="$2" mailer.py commit "$REPOS" "$REV" /path/to/mailer.conf How to make use of this hook to automate the deployment? ...

How to embed revision information using mercurial and maven (and svn)

Our project had a nice hack (although I'm guessing there are better ways to do it) to embed revision information into the artifacts (jar etc.) when we used svn. Now we have migrated to mercurial, and we want to have a similar thing, but before I start working on a similar hack with mercurial, I wanted to know if there are better ways ...

More readable SVN-diff in PHP

Hi, I'm using svn-diff function from PECL (http://www.php.net/manual/en/function.svn-diff.php). The output is not really easily readable. How do I change it to something more readable like winmerge's output, with color highlights, strike-through etc? Doesn't have to be using pecl SVN, any php solutions would do. Thank you! ...

How to checkout a case sensitive SVN source code branch to a case insensitive system?

I am working on a Macbook system , which is formatted as a case insensitive system. The issue is that, I need to check out a SVN branch which has some case sensitive files in it. Example: inbuilt-file.c InBuilt-File.c How do I checkout this branch when both the files are in the same folder? When I try and checkout, it gives me an err...

Restoring a subversion repository to workcopy revision

My subversion VM died the other day (host hardware melted) and I had to restore a backed up copy of the vmware server image. The restore went well and the VM is running again on a new host. The problem I have is that my restored repository is at revision 60 but my working copy on my PC is at 66. When I try and commit my working copy I g...

Using git svn with some awkward permissions

Due to some funky permissions on our client's side that we can't change, we have a project whose hierarchy looks something like: projectname/trunk: foo/, bar/, baz/ projectname/branches: branch1/, branch2/ (where branch1 and branch2 each contain foo, bar, and baz.) The thing is, I have no permission to access trunk, so I can't ju...

I am getting following error while converting the CVS repository to SVN repository using cvs2svn

Hi, I am getting this error while while giving this command: cvs2svn --trunkonly --svnrepo /path/to/new/svn /path/to/existed/cvs/repo The error i am getting is Error summary: ERROR: No RCS files found Are you absolutely certain you are pointing cvs2svn at a CVS repository? I found that the my repository is CVSNT. so ...

Detect a tag in hook-script SVN

Is there a way that I can detect a tag/branch in SVN? Could I find out where the commits destination is? I want to check that all externals are set to a specific version of the folder they are pointing to, I don't want to prevent commits to a tag with this script. I am writing the script with the c-python bindings. ...