svn

subversion url redirect

I couldn't figure out how to do a repository url redirect in Svn... Here is a scenario: For SVN server we use Visual SVN, for clients mostly Tortoise SVN. We create a branch each time we do a production source rollover. Then the url looks like this: http://svnserver.blabla.com/branches/8%5F3%5F0%5F0/development ... next time will be ...

does Java have API wrappers around subversion and Git?

Curious if there any API wrappers for Git and Subversion for Java? I want to be able to pullup the changesets and souce code (and diffs) from Subversion and Git repos. Is this possible? Any pre-built APIs? ...

What are some strategies to facilitate relatively heavy modification of vendor's code while preserving upgradability?

I am the lead developer on a project whose continuing mission is the implementation, expansion, and maintenance of our highly trafficked site's content management system. The CMS is neither an in-house solution nor an open-source project - it is an expensive product purchased from a vendor. Unfortunately, it's a very... shall we say......

How to revert files with specific extension in svn?

I would like to do something like this: svn revert --recursive mydata/*/*.txt and I want it to revert all files which have extension *.txt in the directory mydata. Is there a way to do that? ...

How to version control config files pragmatically?

Suppose we have a config file with sensitive passwords. I'd like to version control the whole project, including the config file as well, but I don't want to share my passwords. That could be good, if this config file: password=secret foo=bar becomes password=* foo=bar and the other users of the vcs could also set up the password o...

TFS and Subversion

I have the following goals: Shared source control with continuous integration The ability to check in incremental changes that may or may not build (i.e., breaking changes) without affecting other team members The ability, without days of work, to get a report of the incremental changes checked in (not a report of the FACT that a chec...

SVN sub-changeset commit?

I am using AnkhSVN in Visual Studio 2008 as a source control solution. I love to check out, edit and then re-commit partial changes as a way to ensure I never lose incremental progress. Is there anything smaller than a changeset that will allow me to check-in incremental changes as a way to ensure I don't lose them/overwrite them betwe...

Restricting Access On SVN For Freelance Programmers

I'm planning on hiring a freelancer to work with me on a project. All of my code is on my SVN, but I don't want some of it to be available to the other programmer. That said, there are many directories, and I want the other person (who I have never met) to only access certain directories, for both read and write. I can't find anything i...

Current SVN project - change hostname

My mate created a project from SVN with bad hostname - 192.168.0.100. - yes, with a dot at the end. :) Eclipse created this project, downloaded files, etc but there is problem with commits. Is it possible to change SVN hostname in this current existing project from 192.168.0.100. to 192.168.0.100 without creating a new one (from shell ...

How to get a TortoiseSVN log of only one folder, but non-recursive

I have a folder that I'd like to see the log of, but I only want to see the log of the files in this folder, not the subfolders. Is there any way to do this in TortoiseSVN? ...

Text document storage with timestamp retrieval of versions

Does anyone know of any SCM(s) (e.g. svn, git, etc) that would allow me to quickly access data as it was at a given actual time without deliberately tagging it or parsing big logs to work out what version was active at the time? i.e. Store values for file=X of A (at 9am),B (at 10am),C (at 11am),D (at 2pm). I want to be able to quickly ...

Cannot programatically delete SVN working copy

I am using the SharpSvn library in an application. As part of my automated integration tests, I create a test repository, check out a working copy, perform some tests, and then delete both the repository and working copy folders. However, a simple Directory.Delete(workingCopyPath, true); always yields an UnauthorizedAccessException with...

How to have tortoisesvn Always freeze svn:externals for tags

Is this possible with tortoiseSVN?: Always freeze svn:externals for tags the scenario is our trunk will always use the 'head' revision for externals, however when we create 'tags' we would like for them to have a revision set for externals to properly 'freeze' them at a specific point in time. Thanks! Update Thanks to everyone for y...

Subversion: Ignore a Directory in the Repo on Commit

I have all the boost header files in this repository and when I do a check in it takes a really long time to scan all those files that will never change. Because I want users that checkout the project to be able to compile without installing boost I am in a pickle. I want to checkout everything, and then ignore updates (there will neve...

Is it possible to schedule an svn update?

I use eclipse galileo with subversive plugin or Tortoise SVN to do an update. It is possible to schedule an auto-update (eg. every night)? If yes, is it possible to configure it to just update the non-conflicting files? ...

Can you backup/create a dump of a subversion repository with out direct access to the server?

I use a hosted subversion service for a number of personal and work development projects. While they keep backups like any hosting company should I'd like to be able to create my own local backups as well just in case. This service allows you to request and download a backup, but they charge money to do this. Is there anyway I can genera...

How to avoid svn:mergeinfos on sub-folders?

We try to keep the 'svn:mergeinfo' property on the root branch folder only. However, we keep seeing it creep into subfolders. We've been able to identify some possible causes: Moving a folder in the repo-browser Moving and/or renaming packages in IntelliJ Using old svn clients Can anyone provide a list of things we should not do in o...

AnkhSvn doesn't add files to SVN

This is a known issue - when files are added using Ankh, they are not really added to SVN. Many a times this has caused problems, for instance when committing later through TortoiseSvn only to find missing files, or when creating a patch. Is there a workaround, or some plans to fix this is a future Ankh release? Edit - to clarify, when...

Why Subversion skips files which contain the @ symbol?

when I try to execute command like this (from a command-line or Perl script - it doesn't matter): svn revert "build\[email protected]" SVN skips this file and outputs: Skipped 'build\myfile' I tried doing: svn revert "build\*.meta" But it gives the same result. I can revert these files from the GUI. And I can revert these files...

Git svn fetch retrieving only one revision at a time

I'm using Git-1.6.5.1-preview20091022.exe. I've cloned a SubVersion repository using: git svn clone -s https://xxxxx:8443/svn/project/SubProjectA The SubProjectA has the standard layout (trunk, branches, tags). SubProjectA is a copy of another project. It has only 60 revisions if it own. After the command, a folder is created with th...