svn

Remove properties recursively

Tortoise SVN has a choice to apply a propertie to all subfolder/subfiles recursively. Now I need to remove this properties. How can I do this recursively? ...

How to Prevent "svn diff" from Generating Unicode Output on Windows

On my Windows box, I tried to create a Subversion patch by using the command svn diff > my_patch.diff. The resulting file was encoded with UTF-16, rather than UTF-8 or ASCII, so when I tried to use patch (from GnuWin32) to apply the patch, it didn't work. I was able to convert the patch file to UTF8 by opening it in Notepad and saving ...

xcode scm failure: conflict with [username].mode1v3 package file

I get this error in realtion to my [username].mode1v3 package file: Error: 155015 (A conflict in the working copy obstructs the current operation) Description: Commit failed (details follow): I can do a compare from the SCM results menu on this file. Doing so reveals 102 conflicts (differences) between my local copy and the l...

How do I import an existing GIT project into SVN, preserving GIT history on master branch?

I've a project developed with GIT and have a few hundred commits. I only have one master branch and the commits are linear. Now I'm asked to put the source into an existing SVN and ultimately I'd like to preserve the master commit history (the messages and the diffs, author is preset by SVN access). It's like I need to replay the whole...

Objective-C library for accessing SVN

Are there any Objective-C libraries available for accessing SVN repositories. It is a very difficult thing to Google for due to the high correlation on the words involved. I would like to use one in an OSX 10.6 application. ...

Can I use Mercurial for multiple projects (in an approximately the same way as SVN)?

I have a private SVN repository that I use for all of my projects. It is backed up regularly, and I like being able to browse it over the web, when I need a little snippet of code. Now, I would like to move to a more modern platform for source control (say, Git or Mercurial), but I also like having all of my projects in one place. Is ...

Why does svn:executable work for one script and not the other?

I have a bash script (.sh file) and a Python script (.py) file in the same directory. Both have the svn:executable permission. However when I do an 'svn update', only the Bash script gets executable permission set. Any ideas why? (If I manually set the permission on the Python script it runs fine.) DOH! Turns out I had a typo. It had t...

Subversion option to display results of update without actually updating

The perforce command: p4 sync -n will display the results of the sync (update in subversion) without actually performing the sync. I've been looking in the svn help pages and googling around for a tag/command in subversion that will do the same but have yet to find one. I was thinking there may be a tag for svn update that would acco...

Is it possible to change "svn:externals" property of subversion repository remotely?

I am trying to change "svn:externals" property of a remote repository via this command: svn ps svn:externals "vendor1 http://vendor_repo_here.com" http://main-repo-here.com I am expecting above command to change the "svn:externals" property from whatever it is to "vendor1 http://vendor_repo_here.com".. But it throws an error: Setting...

How to place a directory from a .tar archive into a subversion sparsed checkedout working copy parent

Suppose you have a subversion repository with a directory /trunk/huge that is huge (thousands of files > 1G) and doesn't change very often. You check it out sparsely avoiding /trunk/huge, e.g. svn co --depth immediates ^/trunk trunk for f in trunk/*; do if [ "$f" != "trunk/huge" ]; then svn up --set-depth infinity $f; fi;...

git-svn branching: how to configure git config

Hi, a few months ago i configured a git with an svn repository. Until now i only used the svn repository to keep up-to-date with the supplied application on it. But now i also want to commit stuff back. To do this every feature i'm going to commit needs to be in a separate branch. I read about how you should create a new branch etc. But ...

How to commit current changes in a new branche using TortoiseSVN & SubVersion

Hello, I'm in a situation where I don't want to commit my current changes to the trunk. I would like to commit to a private branch and work there a little until I'm sure that everything is OK. I will merge changes made in my branch to the trunk. What is the recommended procedure when you use SubVersion and TortoiseSVN ? I have the cl...

Conflict resolution in Subversion

Good afternoon, I have a problem with the "Conflict Tree" where the situation is as follows: - The site warned that to solve this problem should upgrade to server 1.6 and 1.6 client but I did the upgrades but it only tells, but does not correct properly. Problem: User A received a projeto.c and commit the file after the commit versio...

Bash - get last dirname/filename in a file path argument

I'm trying to write a post-commit hook for SVN, which is hosted on our development server. My goal is to try to automatically checkout a copy of the committed project to the directory where it is hosted on the server. However I need to be able to read only the last directory in the directory string passed to the script in order to chec...

git svn clone an entire svn repository

When I clone our svn repo using git svn i pass it arguments to tell it where the head, branches, tags... etc are and it pulls the main code base properly. in addition to trunk and branches we also have directories for: the website, and one for 3rd-party apps the build system a bunch of others. How do I get git-svn to pull these a...

learning svn for experienced git users?

I'm looking for "more than an introduction" to subversion for someone like me who is by far most comfortable with git and passingly competent with subversion and looking to learn more advanced subversion use. Preferably something 'faster' than reading Practical Subversion. ...

svn backup repository

hello I managed to bring down my subversion remote server (temporarily). However, I have a file backup with subversion root. is it possible to temporarily update working copy from this backup root, while maintaining/(or reverting) original repository location? ...

Ignore revision on git-svn fetch?

Hello, I am trying to move one of my Subversion repositories to Git and am running into an interesting error... In the middle of the git-svn fetch step, I receive the following error: r9 = d0eff6b2d1eda7fcced16227dbc613732e956f0b (refs/remotes/git-svn) RA layer request failed: PROPFIND request failed on '/baytn/baytn/trunk': PROPFI ND ...

Preprocessing SSI includes in site build process, export from svn

I have a site which uses simple server-side includes to pull in the header and footer on some static HTML pages: <!--#include virtual="/_top.html"--> ... <!--#include virtual="/_bot.html"--> The downside is that IIS can't cache SSIed pages (or more specifically, it won't allow browsers to cache the page no ETag nor Last-Modified h...

Clone local SVN checkout to GIT

We have a remote SVN repository that is used to hold all our content form artwork to videos ect... As you would expect this remote SVN repository is 90 gigs in size. I would like to use GIT instead of using SVN, considering I would like to have any updates or commits by anyone else in the team visible without needing to show history wit...