svn

Using (Ankh) SVN to make two files the same across branches

Unfortunately, I'm not entirely clear on how SVN works... I have a trunk for my main Visual Studio C# solution, and a branch, for work in development. Now and again, something needs to be changed in both, so that the code is identical. I've had a look at the Merge wizard, but it doesn't seem to describe this issue. It seems to allow me ...

Commands to get SVN Log Output in a Copy,Pastable Format

I need to send a list of changed files with extra notes from commits I've done over the past week. I'm looking for a way to get SVN log output in a format I could paste into an email. I use VisualSVN and Tortoise SVN but I don't see a way to copy the log outputs. ...

Get local copy of all revisions of an SVN project

Is it possible to get all revisions of a project copied onto my local machine? Basically, what I'd like is to be able to pull projects W, X, Y, and Z out of a remote SVN repository and have access to them on my computer, ideally in a locally running copy of SVN. Ideally I'd like to do this using a GUI tool of some sort because my unix ...

svn export from post commit does not work on window?

Hi Everyone, I am setting up a SVN server in a windows environment: Whenever a tag is made, the post-commit script export a certain number of information about the tag (like author, comments, dependencies ...). I also want to attach specific files from the tagged repository. To do so, I have been trying the "svn export" commands. This ...

SVN Error: "' 'x' isn't in the same repository as 'y' " during merge

I get the error svn: 'x' isn't in the same repository as 'y' " during merge. What's the problem and how can I fix it ? (I actually know the answer and posting it as soon as I am allowed by the system, so that it's googleable by others. I got my share of trouble finding the answer). ...

per-directory permission in svn

I am configuring svn server for a local network. This is file based svn server i'e the host is localhost. I would like to give per-directory permission to my users.The repository is in my account. Is it possible to do on this setup? svn list file://localhost/path /to repository/in /network It lists the svn repository and as well as...

SVN: exporting empty directories

When exporting in SVN, SVN not only ignores .svn directories (as it should), it also ignores all empty directories. Is there a way around this? I've been searching forever with absolutely no luck. Yes 'svn co' will grab them, but we'd much prefer 'svn export' for various reasons. Thanks so much. ...

Subversion: how to create a tag with folders at multiple revisions

Hi, We have a large project which consists of a single build job (Maven, via a pom.xml, with multiple child folders etc). Developers have given us three different revision numbers, and would like us to create a single tag that we can feed the (Hudson) build job. Example: / -- at rev X /project1 -- at rev Y /project2 -- at rev Z I was...

queue commits on SVN

Is there a way to queue multiple commits (with message) before I actually commit them? On work we have a SVN server running and I update the code on my laptop. When I'm at home I can't commit, but I still like to log these commits. Is this where changelists are for? ...

Subversion: How to maintain separate version of a project as subdirectory of another project

I want to copy a subversion project (/signature_paper) into a subdirectory of another subversion project (/thesis). I will make changes in /thesis/signature_paper that will not go back into the original signature paper. At the same time, I will want /thesis/signature_paper to pick up most or all all of the changes made in /signature_pa...

Importing a Subversion repository with a non-standard layout into Git

I'm trying to (permanently) migrate my group's Subversion repository to Git, but I'm running onto problems trying to clean up its non-standard directory structure. Some of the project's content is contained in trunk and branches folders, but not all of it. The project on Subversion is laid out like this: project/trunk/ project/branches...

350GB SVN repo creates atleast 1MB revision for even a simplest task like branch/tag

This all started when I noticed that my repository size is increasing at a daily rate of 1GB. I did a simple test. Created a branch/tag of an existing folder that had a size of 35KB. I took note of revision number and went to $REPO/db/revs/<K-rev>/rev-number/ and checked the size of the revision. It was 1 mega byte. That sounds fishy. An...

Using Tortoise SVN to merge a contribution to an open source project on to the main branch

What is the correct way to combine the files from two different SVN repositories? I'm a SVN newbie. I taught myself how to use Tortoise SVN so I could checkout open source projects. I managed to checkout the main trunk of WEKA and it works fine. There is a contribution of another set of algorithms. This contribution has a different ...

Autobuild on SVN commit

Currently we are using TortoiseSVN for version control. What I was looking for is a way to run build on svn commit. So whenever a developer tries to commit on svn, it should trigger build (MSBuild script?) and then if possible run all the unit tests before finalizing the commit. Would be great to get some tips or suggestions on this. Pl...

How to inject SVN revision number into JAR?

I want my JAR/WAR application to know what is the SVN revision number of its source code. I want this revision number to be later rendered for web end-users at the bottom of a web page, etc. Is there any existing Maven plugin to automate the process? I think that the plugin has to collect the information from svn and save to some file,...

svn updates with different account (--username and --password ignored?)

Here is the situation: One man checked out repository and now I have to update some of the folders. Problem is that he left and no one knows the password. So, I would like to use my own account. I execute this command: svn up --username (my_user_name) --password (my_password) --no-auth-cache SVN asks for my password and SVN doesn't acc...

SVN Log/diff on files in a deleted directory

In my project another dev reorganised some files, and now I'm having some issues getting at the diffs of them :-( I started out thinking that it'd be nice to get webSVN to be able to show these diffs, now I'd just like to be able to see them myself! I know that the 'svn way' is to treat deletion as an operation on the parent directory, ...

how to work on a project with visual studio and eclipse

we are currently starting a project involving people on windows and linux and using SVN. The problem is that people who want to use Visual Studio (2010 for most of them) have problem with the folder structure and the syncing of there project. they've got ankhsvn (http://ankhsvn.open.collab.net/), they are mapping the project to real fo...

SVN Relocate in Eclipse Issues

I'm trying to use the relocate function in Eclipse to switch the svn server my projects are looking at. I open the SVN Repositories view, right click the repository, choose relocate, type in the new url, and it just keeps spitting back: org.tigris.subversion.javahl.ClientException: svn: Server does not support retrieving information abo...

SVN show files in working directory which are out of date

I am playing around with SVN trying to get a better feel for how it works. I added some files to my repository and checked them out into 2 separate working directories. For working directory 1 I am using my SQL client software (Aqua Data Studio) to modify the file and working directory 2 I am just using Windows Explorer with TortoiseSV...