svn

Hudson plugins for visual svn

Problem I have a hudson build server set up on a windows server 2008. We want to be able to commit to a repository and after the commit succeeds we want visual svn server to send a message or a trigger to the hudson build server to let it know it needs to execute a build. We want it to build only when someone does a commit so we don't...

Unwanted Shell expansion when assigning the output of a shell command to a variable

I am exporting a portion of a local prototypte svn repository to import into a different repo. We have a number of svn properties set throughout the repo so I figured I would write a script to list the file elements and their corresponding properties. How hard can that be right. So I write started writing a bash script that would assi...

Build server polling vs. event-driven builds

Why do build servers poll for changes instead of SVN firing off an event (or a post-commit step) that tells the build server to start a build? It seems terribly inefficient to poll for changes, especially when the number of projects increases and the polling period is set to a very low value (for example, 30 seconds). ...

SVN Subversion use explicit cached credentials

I am trying to run a SVN command in a script, but the script is launched as a system service that has cached svn username/password credentials. I could always just put the username/password arguments in the command: svn info --username bob --password pass but I'd rather not have my username/password just sitting in a text file. I've...

how to seamlessly integrate subversion and git?

I'm looking for tips on how to seamlessly integrate subversion and git, for deploying web sites by a small team of web developers. We each have our own development versions of our sites on our local machines. We also have dev, staging, and live servers. As our team has grown, we haven't updated our revision control and deployment strate...

Retrieving SVN log files with SharpSVNs client.diff(uri, range, ouput) in no way edits the repository right?

I have been using SharpSVN and love it but I wanted to make sure that the .GetLogs() and .Diff() functions in no way actually edit data on the repositories. These things just get you the information stored in the logs as if you were repo-browsing and looking at the logs through something like TurtoiseSVN right? Thanks. ...

PHP SVN functions

I've just discovered http://www.php.net/manual/en/ref.svn.php, which is actually what I've been looking for for a while. I am able to use svn_ls to correctly list directories and their files, which is perfect, but for the next part of my S3 deployment script, I need to be able to use svn_fs_file_contents. Unfortunately, I am unable to c...

SVN Path Based Authorization: Granting listing access but not read access

Hello, We're using path-based-authorization module for Apache SVN. It all works fine, except that when users try to check out code they have access to, their SVN clients get confused if they don't have at least read access to the parent directories - all the way up to root. It works, but some clients just get confused sometimes. Beca...

How to create a new branch using TortoiseSVN

How do I create a new branch with my working copy using TortoiseSVN? I see the branch option but I don't see a way to name it somehow. ...

Distributed version control systems merge easiness details

I have just read Joel's blogpost concerning distributed version control systems and can't understand the main idea. He says that SVN thinks in terms of versions while Mercurial thinks in terms of changes. And, according to Joel, it solves merging problems. I heard this idea several times and still haven't conceived it. As I know, SVN's ...

How to backup a remote SVN repo while you have not had admin rights?

I mean you have not access to svnadmin, neither you have access to its files system. I'm going to backup source of my project in codeplex.com. Many Thanks UPDATE: I used: svnsync initialize file:///d:/fardis_repo https://fardis.svn.codeplex.com/svn but got error: svnsync: Repository has not been enabled to accept revision propchan...

Searching within svn logs and merging several revisions at once

I want to be able to search within the commit logs of svn. I know you can do that on tortoise. We are moving to a two-tiered repository approach, so that the stable branch will only get fully completed and tested stories. To achieve that, I would need a way to search within the commit messages for the story code (eg:#s1322) and get a lis...

How do I search within svn logs

I want to be able to search within the commit logs of svn. I know you can do that on tortoise, but couldn't find a way using the command line. We are moving to a two-tiered repository approach, so that the stable branch will only get stories fully completed and tested. To achieve that, we would need a way to search within the commit me...

Hudson: how do i use a parameterized build to do svn checkout and svn tag?

I'm setting up a parameterized build in hudson v1.362. the parameter i'm creting is used to determine which branch to checkout in subversion. I can set my svn repository url like this: https://my.svn.server/branches/${branch} and it does the checkout and the build just fine. now I want to tag the build after it finishes. i'm using the...

Problem doing SVN Vendor Branch - merge

Hi, I am trying to use the svn vendor branch to upgrade the third party library. (We have modified the source code) I followed all the steps to create the vendor branch:: created the vendor branch for old version (3rd party library) created the vendor branch for latest version (3rd party library) copied the latest version to current f...

Good book for learning Bash shell?

I want to learn how to write shell scripts. Particularly I want to write a svn post-commit script to upload files from a test server to a production server. I am sure I will want to write more as I get more into it. I have very little linux/unix knowledge. Can anyone recommend a good book? ...

Creating a Bazaar branch from an offline SVN working copy?

I'm doing some offline development on my SVN working copy. Since I won't have access to the SVN repository for a while, I wanted to use Bazaar as a helper version control to keep the intermediate commit history before I commit everything back to the SVN repository. Is this possible? When I try to create a branch using TortoiseBZR from t...

Moving from SVN to HG : branching and backup

My company runs svn right now and we are very familiar with it. However, because we do a lot of concurrent development, merging can become very complicated.. We've been playing with hg and we really like the ability to make fast and effective clones on a per-feature basis. We've got two main issues we'd like to resolve before we move t...

Having trouble with post-commit hook

I am following this tutorial that is like the hello world for post-commit I am using unbuntu 10.04. I installed svnnotify and ran $ which svnnotify which output: /usr/bin/svnnotify so I changed the path in the turorial from /usr/local/bin/svnnotify to /usr/bin/svnnotify I also tried changing the line: #!/bin/sh to #!/bin/bash si...

Split large repo into multiple subrepos and preserve history (Mercurial)

We have a large base of code that contains several shared projects, solution files, etc in one directory in SVN. We're migrating to Mercurial. I would like to take this opportunity to reorganize our code into several repositories to make cloning for branching have less overhead. I've already successfully converted our repo from SVN to Me...