svn

Svn revert all properties changes

I have a svn working copy which I attempted to reverse merge a couple of recent revisions into. I cancelled the merge before it completed as I changed my mind. Now my working copy has a couple of thousand "changes" from updates to the ancestry related properties on most of the files. I have about 10 files with real code changes mixed in ...

Making subversion use system accounts

I'm setting up a subversion server for hold my code for a website I've been working on, and I'm trying to do it all though svnserve, however I need to be able to access it using the system accounts, and I'd prefer not to have to copy/paste usernames and passwords into a plaintext file. It's a debian server, and PAM is enabled. How can I...

How can I make WebSVN work on Windows with VisualSVN?

Alternatively, what other web UI for svn can I use to view diffs and versions of files? I've spent about 2 solid days trying to make WebSVN work on Windows with no success. Try #1: I tried to set it up under PHP for IIS 7. I got close that time - I was able to view the repository tree, but I got permission errors clicking any links ...

can svn command line commit be like tortoisesvn commit

Hi, to give a little background, i am required to perform a synch between a folder X with a svnfolder Y. Folder X is the master so after the synch folder Y contains the exact same files/folders as folder X (apart from folder Y contains a .svn folder). After the synch i want to commit Y through the command line. I want all new files to...

Is there a way to force log entries on svn check in ?

There is a desire in one of my teams to force user's to provide a log entry on check-in. I think the only available approach is to create a custom repository hook to reject a check-in. Is this correct ? Any existing examples or commentary on the approach ? ...

Migrate SVN directory from standard to SSH

Hi, I have an SVN repo that I want to change to work over SSH, but don't want to checkout again. I have added the appropriate tunnels, but when I go to checkout, it still goes over HTTP. ...

Revert a file on SVN repository but keep local version

I accidentally committed some changes to the repository that were not complete. I do not want to lose my local changes, but i want to revert the file in the repository to where i was before i committed the changes. ...

Subversion: This client is too old to work with working copy '.'

When I issue the below from the command line: svn add SomeFileInMyWorkingDirectory.zip I get: svn: This client is too old to work working copy '.'; Please get a newer subversion client. OK, this is pretty straight-forward. But what has me confused is that when I issue the following command: svn --version The res...

Mercurial sub-repository for a Subversion master

We've got a subversion repository set up like this: Repo A Sub-Project I Sub-Project II Repo B Repo C Recently, I've been tasked with piloting a Mercurial replacement solution. However, my project (Repo A\Sub-Project I), still needs to exist within Subversion, as that is what the build process uses (and can't be modified at the...

Eclipse Subversive plugin: Why can't I create this branch?

I recently switched from Subclipse to Subversive for SVN integration in Eclipse, and I'm having trouble creating a branch of my source code. I've tried a few different variations of my method, but they all led me to the same roadblock. Basically, here's what I'm trying to do. Navigator pane Right-click on project folder (want to branc...

How to distinguish ordinary commit and merge in Subversion?

I'm working on SVN repository hooks. Here is the typical structure of repository: trunk/ branches/ branch1/ branch2/ In pre-commit hook I need to detect if merge (between branches, from branch to trunk or vice-versa) has been performed and check if user is authorized to perform merge. I discovered that merge changes 'svn:merg...

How can I automate server to server site transfers using PHP?

The company I work for uses two servers DEV and PROD to host its sites. DEV is obviously where we do all of our work, and PROD is where we host live sites for clients. On DEV we have created a deployment app that is used to create new sites and perform a few other administrative tasks. Right now I am looking into a way to transfer sites...

How to undo a commit partially in Subversion?

Hi, If I do commit a change in Subversion, say to revision 330 ( which consists of 3 different independant codes files, a b and c ) and then realise that I need to revert back the older version of c and undo the commit changes only related to file c. How do I do it without touching the other two files a and b? Basically partially undo...

running a script after svn up in windows if there were incoming changes

My project is divided into bunch of subprojects . I want to automate the process of getting all the changes from svn, building and deploying it . So i I want to build and deploy a project only if there were incoming changes from svn . Is there a way to automate this ? Note that I am using a windows machine ( unfortunately ) ...

SVN Repository Authentication using SharpSVN

Can any one tell me how to authenticate users(SVN users) for a repository using SharpSVN Library. That repository should only be committed by those users. Thanks ...

Git-svn: managing mutiple remote tracking branchs

Hi all, Currently I'm trying out exporting Git repository history into svn via git-svn and using grafts method. As of now, I have successfully export the git history into svn. But because of the grafting method and that my git repository is cloned from the actual repository, I ended up having TWO remote branches like that of below. o-...

Versioning and Solution Structure in Visual Studio

I have a system that has three applications (one windows application and two web applications). These applications all share two assemblies in common. Therefore, I have 5 projects in total. In the past, I have had a separate solution for each project. This allowed me to version each assembly individually in source control. However, ...

Is there a plugin for listing subversion tags in Hudson?

In Hudson we have a job that deploys a specified subversion tag to a server. This tag is currently entered in a text field, but since that is just a typing mistake waiting to happen, we would like that text field to be replaced by a drop down list with the currently available tags. That is, we would like Hudson to go to <subversion repo ...

Overwrite file from svn:externals

I'm using svn:externals to include code from another project - for which I do not want to commit changes to. One of the files included by svn:externals needs a small change (just a line) to work with my current project. So I want to commit this to my own SVN. How do I do this? If I try and commit as things are now, it tries to commit m...

Visual Studio 6 SVN plugin

We currently use AnkhSvn with Visual Studio 2008 but have one solution that is still coded in Visual Studio 6. Are there any SVN plugins that operate with such an old IDE? Looking to move away from SourceSafe (shudder) and amalgamate our source control but would prefer to have a tool within the IDE rather than using tortoise SVN. ...