svn

Is there a way to import svn history into git after the fact?

I already have a svn read only repo checked out (svn co and not git svn). I have made some changes and commits using git which is then pushed up to github. At this point, git does not have all of the history from svn. I was wondering if there was a way to extract and import this at this point. The various git-svn guides show how to im...

How to protect i18n bundle integrity in larger teams?

We use Subversion to manage our project files, including the seam managed message bundles which have the highest mutation rate of the whole project. Ever so often a developer reads past a line during diff merge and accidentally reverts some changes, which usually slips through the testing process. What practices have you adopted to ens...

How do I import multiple branch-type directories into git-svn which aren't exclusive children of the same parent?

Sorry for the long title, but I wanted to make clear the distinction between this question and The one asked by CaptainPicard I have a svn structure like: trunk/ branches/* tags/* Release Candidate/* for all intents and purposes Release Candidates are used exactly like branches. So, I can tell git-svn to use Release Candidates as br...

Howto provide software drops via SVN?

Delivering software should be fast and easy. Otherwise it's annoying to spend time in building packages manually. So I would like to use SVN to ship my rails project to a productive environment. The idea is that operational guys just have to checkout the inital project by executing: svn co https://my-server/vs/my-project/tags/1.0.0 A...

How can I move my repository in Tortoise SVN?

I was working with a single repository for a while. Now, I would like to create another repository for a different programming environment (that uses a different language and project altogether). To do this in a structured way, I would prefer to have one root directory where I would be able to collect different repositories. But I can ...

How do I assign a version number for a Python package using SVN and distutils?

I'm writing a Python package. The package needs to know its version number internally, while also including this version in the setup.py script for distutils. What's the best way of doing this, so that the version number doesn't need to be maintained in two separate places? I don't want to import the setup.py script from the rest of m...

How do I use version control tags?

I have developed a kind of brochure website template that I base most of my clients' websites on. The template and derived sites are stored together in a Subversion repository. Bleeding-edge (but stable) code lives in /trunk; and each website has its own branch, to make customization easier. Now that I'm approaching a 2.0 release, I feel...

svn to git conversion

I am trying to convert a sourceforge project from svn to git. According to some googling it should be possible to use this command: git svn clone http://PROJECT.svn.sourceforge.net/ PROJECT.git where PROJECT is the project name at sourceforge to get a svn project checked out into a local git repository. However this just gives the fo...

cvs2svn and merge info

I want to convert a CVS project to Subversion, using cvs2svn. It has a main trunk (HEAD), with several temporary development branches created from the trunk. Before we convert it, we'll merge the latest changes from the trunk into all of the dev branches. But they will also have changes that haven't been merged back into the trunk yet. ...

Change the timestamp of a SVN revision

We had a power failure, that exhausted our UPS and subsequently shutdown our SVN machine. When it booted back up it, the system time was incorrect. Unfortunately, this was not caught until some people had already committed a changes. So now we have a few revisions that predate the first revision by several years. Is there a way to co...

SVN hooks for windows

I did a little googling and found that there isn't really a resource of SVN hooks for Windows. So I figured I'd start a wiki here to centralize it. If you contribute. Please be sure to indicate: The name of the hook What the script does The actual script NOTE: I suspect posting an epic script will not be useful. ...

SVN updates summary

I have checked out source code from a SVN server, which is not in my control. I would like to know whenever there are new updates available and classify those as modification, new additions etc. Googling led me to believe "svn status --show-updates" was the command I was looking for. However when I run it on the repository root, it does ...

Svn Repo Syncing

I would like to keep a copy of a 3rd parties code in my SVN repo. (so I can run reports and tests) How could I sync a certain folder / path from their repo into mine? Obviously I can't just do an export from their repo and commit to mine because this would miss deletes. Extra cool points for an automated solution. svn:externals could...

Subversion with 32 bit server and 32/64 bit clients

Good morning; my google-fu seems to be lacking today. I've just been upgraded to a Vista64 machine, and we only now have a 32 bit subversion server. I assume there is no problem using 64bit tortoisesvn with the 32 bit server ? Thanks. Max. (Edit) Thank you all. ...

Problems commiting deleted directory to SVN repository

I am trying to remove a directory from my repository. I delete the folder and do an svn commit and i get the following error : Error: Commit failed (details follow): Error: Access denied My user has rw permissions on [/], and i can commit new or modified files any ideas on what the problem might be? EDIT: Seems i can perfo...

svn+ssh with putty session, not working in cygwin

So I access my SVN repo using the good ol' putty session name trick. I can use TortoiseSVN and Subclipse just fine, the URL format looks like: svn+ssh://@/data/svn/my-code Example: svn+ssh://codecraig@dev-server/data/svn/my-code So, I've checked out "my-code" to C:\my-code, now I am trying to use cygwin to check-in some changes. I o...

What is SVN? (PHP)

Basically i am quite new to PHP and recently i have had heard quite abit about SVN. After searching (googleing) for it, all i could really find was the SVN functions on the php.net website. Could someone please explain what SVN is, what its used for and is it worth learning? Thanks, Ben ...

Can you make subclipse create a folder structure when sharing a project?

When in eclipse and you decide to share a project in a subversion repository using subclipse, can you make it create a folder structure for that project automagically somehow? What I want is for every shared project to add this kind of structure: /Client/Project/branches /Client/Project/tags /Client/Project/trunk/EclipseProject Where ...

SVN: Is there a way to mark a file as "do not commit"?

With TortoiseSVN, I can move a file into the ignore-on-commit changelist, so that when I commit a whole tree, changes to that file do not get committed. Is there a way to do something like that using the svn command-line tool? EDIT: Thanks for the suggestions to use svn:ignore, but that doesn't do quite what I was looking for. svn:ign...

svn revision number

I am trying to get the revision number of a project and save it into a variable. I know I can get the revision number by svnversion command but I'm not sure how I can store it. I am using regular windows command prompt. Basically I'm trying to do something like : set svnVersion= %svnversion% but I'm not sure how?? ...