svn

How do I convert my SVN repository to Git while preserving branches?

Some help please. This doesn't seem to do it for me: git svn clone --stdlayout --authors-file=../authors.txt file:///home/path ...

How can I preserve EBCDIC in Subversion

We're using Subversion version control and we need to save there files with IBM iSeries encoding (EBCDIC). What is the best way to do it? ...

How do I find useful code previously deleted but still stored in source control?

Whenever someone asks what to do with code that is no longer needed the answer is usually "delete it, restore it from source control if you need it back". Now how do I find that piece of source code in the repository? Let's limit scope to SVN for simplicity - I suspect that using any other source control system will not make much differ...

SVN propset svn:needs-lock on local directory

Hi, I want to set the svn:needs-lock property on a local directory, and then to commit it. I want to do it from the command line and it seems to not letting me. my command is: svn propset svn:needs-lock '*' d:\src_svn\Multilizer the answer I get is: svn: Cannot set 'svn:needs-lock' on a directory ('D:\src_svn\Multilizer') what can...

SVN update returns nothing, while it should

Hi everyone, First some background information; I've set up my SVN repository on my local server at home using VisualSVN Server. Using SSH on (or via php/shell script), i am able to check out a folder from this repository to the webserver, all goes well. Also updates and other svn commands execute normaly and return their messages. ...

Can I recover lost commits in a SVN repository using a local tracking git-svn branch?

A SVN repo I use git-svn to track was recently corrupted and a backup was recovered. However, a week's worth of commits were lost in the recovery. Is it possible to recover those lost commits using git-svn dcommit on my local git repo? Is it sufficient to run git-svn dcommit with the SHA1 of the last recovered commit in SVN? eg. > svn i...

Mixing repositories in tortoise

Will tortoise let me mix repositories in the same and if so how? What I would like is to store code, configs and binaries in separate repositories. ...

Copying subversion commit messages

I know this isn't the BEST practice, but every once in a while when I'm merging up a huge batch up changes with the trunk (and I know my branch is current), I will simply delete the contents of the trunk and then copy the contents of my branch up, so that I don't have to deal with resolving conflicts for an hour. The problem is that I s...

Hook to make Subversion Read Only for specific users

We have an existing Subversion repository that uses LDAP to manage users/passwords. There are some new users who we would like to provide read-only access to SVN. I did some Google searches and found a way to open up read-only access to anonymous users, but this is not what we want. We do not want to open up SVN to everyone. We still...

How can I setup Hudson to use the same repository for different projects and maintain separate change logs?

I typically setup SVN to host 1 big project per repository but a lot of our infrastructure has changed and we now have one main SVN server that has a hierarchy like so Branches Tags Trunk Project1 files & folders Project2 files & folders Project3 files & folders Projects1,2, and 3 do not share anything amongst themselves, the...

svnadmin create -- Error?

ok I installed the subversion binary from collabnet onto my win7 computer. when I ran the installed it put the main files in: C:\Program Files\CollabNet\Subversion Server it also create an empty directory for my repositories here: C:\svn_repository I opened up a cmd.exe and rain this line: C:\Program Files\CollabNet\Subv...

Looking for out-of-place directories in an SVN working copy?

An annoyance that I sometimes come across with SVN is the working copy getting corrupted by one of the .svn folders getting moved from its original location. It doesn't happen often if you're careful and use the proper tools for all moves and renames, but it still somehow happens from time to time. First, does anyone know if there's a ...

What is the most widely used SVN client?

I just started using SVN as of last week (TortoiseSVN), is there any SVN client that's more popular? ...

Compressing assets post-update with Subversion

I'm trying to find a way to compress specific assets post-update on a Production server. So far, I can't find any way to do this that's even remotely simple. Anyone has any insights/experience in doing this? Basically, what I need to do is run a Java utility to compress CSS and JS files - the problem with JS files is that they may or m...

SVNKit: How to get the repository url from a local path?

I would like to implement a method that can get the svn revision number from the path where a SVN repository has been checked out. The method declaration would look something like this: long getRevisionNumber(String localPath) { ... } I'm trying to use SVNKit for this, but it seems to require an SVN URL to start with. Is there any way...

How to send argument securely using Process class?

Hello, I'm using System.Diagnostics.Process to execute an svn command from a windows console application. This is the configuration of the process: svn.StartInfo.FileName = svnPath; svn.StartInfo.Arguments = string.Format("copy {0}/trunk/ {0}/tags/{1} -r head -q --username {3} --password {4} -m \"{2}\"", basePathToRepo, tagName, messag...

Finding out revision of orphaned checkout in TortoiseSVN

Is there a way in TortoiseSVN - without the regular svn client binaries being installed on the system - to detect an orphaned checkout's revision number? "Orphaned" meaning that the source it was checked out from no longer exists. ...

Subversion update misses new directories

Hi all, Periodically we have trouble with SVN when doing updates. Very occasionally when someone adds a new directory doing an update through Tortoise doesn't work. If we do a "Fully Recursive" update using "Update from revision..." option then it picks it up fine. I'm poked around and seen this question which is virtually identical ...

Svn log - svn: '.' is not a working copy

I'm getting "svn: '.' is not a working copy" when i use the svn log command. I know that i need a working copy for the log command to work but can this be done directly on a repository? My goal is to display the information (change history) of a repository. I think updating the working copy whenever i need the log information is not ...

Can anyone recommend a source control tutorial for a non-technical user based on TortoiseSVN?

Can anyone recommend a source control tutorial for a test engineer based on TortoiseSVN? It needs to cover how to check stuff out in detail; the rest can be a bit sketchy if necessary. ...