svn

Subversion tells me a folder is up to date, when it isn't

So I've been working with subversion (and IntelliJ) for almost a year now. Every once in a while, subversion seems to get corrupted or something, and it won't update properly. After updating, i'll find files in the repo-browser that won't get checked out into my file system. Updating again says all files are up to date. I've fixed this ...

SVN Diff of an Added file while specifying the file name

There are a few questions related to this on SO, as well as several bug reports sprinkled throughout google searches, but --new-file or -force or --notice-ancestry has not worked for me. The file is NOT binary and I'd like something of the form to work: svn diff -r XXXXXX TestHelloWorld.java where TestHelloWorld.java is an added file...

svn: reverting to previous version

I mistakenly committed the wrong change to file, for a simplified example's sake let's call it foo.txt: foo.txt, rev 300 (correct): E = mc^2 foo.txt, rev 301 (incorrect): E = mc^3 How do I re-commit rev 300 to the next commit? If I update foo.txt to rev 300, I get the right file but its status is correct & doesn't require being ...

How can I view repository-side changes before checking out?

We're in the process of migrating a big, old codebase from StarTeam to SVN. Everything's going really smoothly, except that a lot of people are missing one of StarTeam's features. In StarTeam, it can query the repository and display a list for you of all files by status. It shows all unchanged files, all files that you've changed, all...

Mark a Jira ticket fixed from within an SVN commit

I was wondering if its possible to have Jira update a ticket's status to fixed based on parsing an SVN commit and finding Fixed or some other flag in conjunction with the Jira Id? It seems the Jira svn plugin will list the commits that contain a particular ticket id so maybe this is not too much of a stretch. Anyone use this kind of thin...

Bundling version control software with product

Hello, I was wondering if its possible to bundle version control software with a product, so customers can use it to version control the configuration files required for the final product to run. So far, searching has only given me pointers to using SVN/Git etc. for versioning source code within an organization. Are there any examples o...

What is 200 in xxx.csd200a.com svn?

What is 200 in xxx.csd200a.com svn? Hi, this question was asked to me by some one, so i posted like that only. It is an svn domain name. I thought 200 in it directs to a specification or protocol or standard. ...

SVN Diff Coloring into Vim

svn diff somefile > check.txt When pushing svn diff into a text file, the output maintains the text coloring when viewing within vim. Is this a vim plugin that was installed with svn, or are their special character encodings to force syntax highlighting in a text file? ...

Where to store the unit test classes?

So far I've always stored my unit test on my HDD, as I'm the only one in the company to actually care about them, but I'm thinking of cheking them in the repository in order to use them in my CI server, and look into code coverage, so I'm wondering... where do you find the corresponding projects to be better stored in a SVN repository? a...

svnadmin dump in Cygwin

I'm trying to write a script in Cygwin to backup our SVN repositories nightly. The first stumbling block I found is that the svnadmin doesn't seem to work quite right within the cygwin bash shell. My repositories are in C:\Repositories Doing the following in a cmd shell works fine svnadmin dump C:\Repositories\Thor > Thor.dmp But t...

Restore svn without any backups

My windows desktop machine died the other day and i had a local svn server running. Is it possible to restore the repository just from the repo file structure alone? I know i should have been backing it up, but i didnt for what ever reason, as the code in it was mostly just playing about and experiments. If the repo cant be restored th...

Why does cygwin's svn ask for a password?

At work we have svn setup so that when I have an ssh tunnel open to the server I can access repositories from localhost without beeing prompted for a password. (The repositories are accessed via svn://localhost/ urls). Everything works fine with TortoiseSVN and windows command line svn, but I would like to use cygwin svn. The problem is ...

Setting up a cross-platform C++ project in Eclipse with cross-platform libraries

I am working on a cross-platform C++ project with 8 other people which uses the following libraries: OpenCV Library Boost C++ Library The project is inteded to be cross-platform so all users have agreed not to use platform-specific code, and, to keep things as simple as possible, all users will be using Eclipse as their IDE. However,...

Create a branch from a tag with maven

Hi, I develop in trunk and periodically tag "stable releases" with the maven release plugin. For example: /trunk is MyProject 1.1-SNAPSHOT creates the stable release /tags/MyProject-1.1 Works fine, no problems, just perfect. Sometimes I have to deploy a hotfix but the trunk isn't ready, yet. So I need a branch from the last stable ...

Holding a file against multiple branches in subversion

I'm working on a project with multiple branches with some other developers. In my daily routine I often have to dart between branches for testing purposes and as I have a local copy of our database I tend to have a web.config file that I never check in as it has my database connection string plus some of my preferred settings. I noticed...

ER Studio and SVN

Is there any way I can natively use Subversion within ER/Studio? ...

Capistrano does not copy Gemfile using SVN

Gemfile is checked in the repo and from the server I am able to checkout the Rails application with the Gemfile in the right place (Rails.root). When I run 'cap deploy' Capistrano copies everything except the Gemfile, so I get the Bundler error 'Could not locate Gemfile'. Whey with SVN I am able to checkout Gemfile and Capistrano is not?...

Do I need to checkout both TRUNK and BRANCH to merge branch back into trunk

Having an issue, here is the problem. Created a branch from the trunk, made changes to the branch on local dev box, committed changes and now I want to merge my changes in the branch to the trunk. I run the command: 46 is the version where I created the branch, 49 is the branch version now sudo svn merge -r 46:HEAD http://path/to/bran...

How manage references in SVN/Visual Studio?

For a long time looking for a way to manage references, I haven't found any ideal way. The main problems are: 1-) Should I include all projects that I use in same Solution and reference the Project? Or reference just the dll file? 2-) If I should reference dll file, the best way is to create a ReferencedAssemblies inside each project ...

how to access svn repository over internet

Hi i have set up svn repository and i was to access it over internet. i have done in svn dir... svnserve -d -r path but it says [~/svnrepo]# svnserve -d -r /home2/alohamor/svnrepo/ svnserve: Can't bind server socket: Address already in use Pls help what to do ...