svn

How to create repository

Hi, I have an Ubuntu Server and wanted to install subversion and set up some repositories. I used the guide at https://help.ubuntu.com/community/Subversion to setup a local repository. When I walk into the directory I'll find a README-file, which contains the following: This is a Subversion repository; use the 'svnadmin' tool to exami...

What are you supposed to do with old SVN branches?

We had a SVN branch recently that had been merged back to trunk, and some more work on that feature/functional area was needed. I suggested using the same branch but was told you shouldn't re-use a branch once it has been integrated into trunk (a reference in SVN docs was given, I can't find it now). That suggests a branch is fairly usel...

How to undelete from the SVN Repository

I accidentally deleted a major folder inside of the Tortoise-SVN Repro Browser. The working folder is unaffected. What is the recommended way to reverse that? Do I just Revert back to the previous version? Or do I need to do a Checkout to that previous version into a new folder and delete the old folder? ...

Visual Studio 2008, MSBuild: "replacement" projects

Hello, My solution has a library project which needs a special environment to be built (lots of external libraries and tools)... but it is not vital to our application. We'd like to avoid installing these tools when not necessary (most of our developers work on other parts of code). We have created another project which has the same AP...

SharpSvn marks file as missing but I need deleted

I want to delete file in svn. I do this so: svnClient.Delete( pathToFile, new SvnDeleteArgs {Force = true} ); When I want to commit chenges, in svn file status is 'missing', but I need 'deleted'. What I do wrong? ...

Counting the total number of commits a user has made in a subversion repo.

I'd like to produce a list of users and their total commits to a subversion repository. Is it possible to generate this information from the command line? ...

Prevent IntelliJ from adding iml files

I'm working with Maven pom files, and I don't wish to source control iml files. When I open a project, IntelliJ seems to add some of the iml files it creates to the SVN source control. How can I prevent this? I have "*.iml" in an "svn:ignore" property on the repository root, but it doesn't seem to prevent IntelliJ from adding the imls. ...

Subversion merging, tree merge

I need to merge changes from a branch back into trunk but want to continue work on the existing branch. I was going to use a re-integrate merge but realised this is not suitable as I will need to recreate my branch etc which for a variety of reasons is not desirable. What I really want to do is merge the current revisions in the branch...

Replicating svn:externals into a git repository (Referencing git from Subversion)

We have a Subversion repository that is not going to move to git in the short to medium term, but I would like to use a DVCS for controlling and versioning 3rd party libraries. Is there a way of using something like svn:externals to fetch/link a revision from git, driven by the Subversion checkout? ...

How can I ignore .svn directories when using sloccount?

I'm trying to use sloccount from within hudson to gather statistics on our codebase, however by default sloccount collects information on all files, even those which are "hidden" (eg. .hideme). This means the statistics are skewed since they include numbers from files within the .svn directories. Is there any way I can tell sloccount to...

SVN: change a past revision and have the change in current

ok say I am on revision 4. I check it out, make some change and commit it. I am not on revision 5. I check it out again, am making some changes, but I am informed that there was a typo from revision 5 that needs to be changed right away. I don't want to fix it in my current working copy because I am in the middle of something and it w...

SVN Working Copy to Different Branch Merge Without Commit to Working Copy Branch

If a working copy (local copy) was created from a branch, lets call it A. Coding was done in branch A, but branch A was "Closed" to commits, and branch b was opened. How do I merge my working copy changes into Branch B and commit to branch B, without commiting my changes to branch A first. Trunk -> branch A. I checked out branch A...

How do I change the default password configuration in Subversion (svnserve)?

Hi, I'm creating a bunch of new repos, and each will be accessed by the same users. By default, SVN will create a passwd file with entries like this: [users] # harry = harryssecret # sally = sallyssecret I want to new repos to be created with my list of users, but I haven't been able to find a way do that. Does anyone know how? Th...

SVN hook script conflict

I am trying to write a pre-commit hook script that will alter a specific svn-property of a folder/file. The script looks fairly similar to the one that is documented in the svn book. I figured out how to set/change the property of a node and when executing the binding function svn.fs.commit_txn the property of the node actually gets set...

Git force complete sync to master

My workplace uses Subversion for source control so I have been playing around with git-svn for the advantages of my own branches, commit as often as I want without touching the main repo, etc. Since my git svn checkout is local, I have cloned it to a network share as well to act as a backup. My thinking is that if my desktop takes a dum...

Branching from a Tag

I'm seeking opinions here. The following may be considered either an SVN-specific question, or a more general version control question. If the sources of a project are to be branched at a point corresponding to a release, perhaps for maintenance work, is it preferable to: (a) branch from the tag, or (b) branch from the node (e.g. on t...

"unadd" a file to svn before commit

I was in the middle of doing a recursive svn add/commit, and a folder which did not have the proper ignore properties was included. I've got about 100 uploaded binary files versioned now, but I haven't committed yet. What is the easiest way to 'undo' this, without deleting all the documents? Thanks! ...

Subversion: who am I logged in as?

I am working on a collaborative project, and using Subversion on Red Hat Enterprise Linux 3. I would like to know who I am logged in as. Am I logged in as myself or someone else? If I check in my work, what username will be associated with the commit? I am never prompted for a username or password. When I commit changes, they just get c...

How to get Overwrite working copy with Repo copy for one file?

Hi all, I am trying to get a latest version of a particular file from the repo. SVN UPDATE doesnt overwrite my local working copy. Actually I have the latest version from the Repository (eg revision 98). After Checkout I made some changes to the file and now I want to get rid of those local changes and get the copy from the repository...

Subversion: How do I commit a Update To Revision?

I have a situation where: Developer is working on SVN project. Person checks out SVN project, walks away, kid/cat/wife sits/dools/sleepwalks/whatever at computer and inserts gobbledygook asdfg-code. Person commits project. Developer sees bad files and Update To Revision back to the last working version All is well untill the develope...