svn

svn errors out strangely

unknown command: 'svn-commit.tmp' I have never seen this type of output from svn ci. svn ci is just an alias for svn commit. Anyway, if you know how to fix this, that would be amazing. Until then, I cannot commit any code lol. I looked around on Google for others having this error but I didn't find anything. Running svn cleanup doe...

SVN: Create a new repo for each projects or put all projects into trunk?

We have two projects basically, each of 2 these main projects have sub projects which they are comprised of. What we have in SVN is currently 1 repo like this: /SVN-REPO1/MainProj1/ -trunk -branches -tags Should I create a completely new repository altogether and just put MainProj2 inside of its own? Or should I put MainPr...

how to use "svn export" command

How can i use svn export command to get a single file from the repository. I try this svn export e:\repositories\process\test.txt c:\ but I get this: svn: e:\repositories\process is not a working copy ...

Axosoft RocketSVN VS. VisualSVN

I've been a long time user of Visual SVN (pretty much since the beginning), but I often have problems with little things like renaming files in a solution and then not committing properly (or whatever) and causing the commit to break. Now I've just seen that Axosoft is giving RocketSVN away FREE (for a limited time), and I'm wondering i...

SVN: Replacing trunk with a branch

If you have an SVN branch on which a huge of amount of work has been done, effectively being the main place for development, is there any special way to decide this branch should become the trunk? A project I'm involved with has this situation, it's kind of like taking a branch of your operating-system code and then replacing the entire...

Updated Branches after Merging one branch

Hi, I am using SVN as repository. We have the structure of Trunk Branch 1 Branch 2 ..... We used to merge the branches into Trunk only after the features are implemented and tested quite well. So it will be a stable working implementation. Branch 1 has its own features and implementation so do Branch 2.. Now Branch 1 has ...

List of all versioned files in subversion?

Some smart dude at the office managed to commit a whole bunch of 'backup' files (they start with ._) to our subversion server. Preferably I would like to delete these files using some basic bash script instead of going through the repository manually. Is there any way I can get a list of all subversion versioned files inside a director...

SVN externals - is there something between floating and pinned externals?

I know that people recommend that externals should always point to tags or be pinned to specific revisions (or both for the belts-and-braces brigade!). I'm comfortable with this approach when the external points to a unchanging or slowly changing dependency. However, sometimes I need to take an external on a rapidly changing dependency a...

Should a call to SVNSYNC be blocking or not in a post-commit hook?

Hi I've set up mirroring of my repository and it works nicely but I've had an issue recently. The target repository was left with an unreleased lock somehow - from what I read this may be caused by an abort to the svnsync operation and I suspect it may be because in my post-commit hook I'm executing svnsync in blocking mode rather then...

Setting & finding a svn repository on a system in LAN

Hi There, I have installed TortoiseSVN on machine 192.168.1.56, & want to synchronise with it from 192.168.1.60, when i insert the repository address in URL like this "file:///192.168.1.56/D:/Repository" and click finish, i get the message "Location information has been specified incorrectly" what is the proper format...Thanks inadvance ...

Git vs SVN: can I have single change in history for several branches?

We have to keep 2 product versions. Now, some changes in each version have to be backported to another version. In SVN, if I made "change" to version 1, I merge this revision to version 2 and give comment like: "Merged 'change' from v1". This is awkward in many ways. Even worse if I merge several changes. Can git help me to have singl...

how to automatically add a new file to SVN in eclipse

Is there any plugin in eclipse, so that when ever I created new java file it will be added to SVN. Though I am doing an SVN add immediately after creating a java file, I am forgetting it many times, which is causing problems. We have lot of un-versioned files, so when committing it is not easy to look through the un-versioned files to fi...

How can I update a revision number in a not modified file for every commit having also this file committed ?

I have a revision.txt file in my SVN project. Basically I want that this file is updated automatically when I call svn ci with the revision number the working copy will have after the commit. For example: revision.txt contains "10" I make some change to my working copy (other files, not revision.txt) svn ci launch hook script read ...

Local SVN/Git/CVS Document Management System

I have heard it is good practice to use some kind of document management system to keep track of different versions of your code/documents for school/work etc. I am still a student so my repository would just be local to my machine. I'm looking for some advice to get started/get in the habit of doing so. Im using OSX. What is the best/ea...

Make TortoiseSVN treat a file as not changed

I have a file which I modified and I don't want these changes to be committed. How do I get TortoiseSVN ignore this file during commits? However if I make changes after that point, I want the file not to be ignored anymore. ...

I need to know what line endings setting to use for Textmate and SVN

I am using Textmate (bran new user) as my editor of choice. Today I did svn diff somefile and found that svn thinks I changed the entire file ! In Textmate, I went to Textmate -> Preferences -> Advanced -> Saving and Set Line Endings to LF (recommended). File Encoding is set to UTF8 (recommended). I guessed that this was the correct s...

How can one retroactively branch in subversion, or how can an one record a revert of a merged patch.

Part of the development I have done on a project can not be deployed, and should have been done in a separate branch. I have merged in the backwards changes (via tortoise's "revert changes from this revision" and careful editing), undoing the work that should have been in a separate branch, and committed this inverse patch to the trunk. ...

Stop Subclipse from displaying revision information beside file name

Hi everyone, I am using Eclipse PDT and the navigator view and I am wondering: Is it possible to stop Subclipse from displaying revision information beside file name? e.g. Turn: .buildpath 6 04/09/10 9:25 AM Lemiant Into .buildpath I would still like to be able to access the information, I just don't need it cluttering of the nav...

"Network connection closed unexpectedly" upon svn checkout

When I attempt to checkout: svn checkout svn+ssh://serveradmin%[email protected]/home/87292/data/svn/repository/trunk . I get this (unhelpful) error: svn: Network connection closed unexpectedly What's happening? ...

git-svn problem with git add --patch resulting in conflicts

Basically when i want to commit two separate changes in the same file that resulted from an git add --patch <file> operation, git svn rebase later on throws 1-2 conflicts upon comitting the second change when using git add for the second change. so i'm basically doing this (i'm on master branch and have fetched the svn repository): git...