svn

How does Mercurial handle components or modular development?

Hi. Using CVS at the moment... When creating a new project that references modular components we use aliases to put together a project directory. So, if project1 uses component1 and component2 then we'd use aliases to pull these components into the project1 directory so that cvs co project1 Would give the developer all they need - w...

Best strategy for branching SVN code and maintaining Visual Studio project references

We have a main visual studio project stored in SVN using the standard trunk/branches/tags structure. However, this project references external projects outside of this structure, so when we create a code branch all the references to the exteranl projects fail as they are one level out. ie. trunk/MyProjectCode becomes branches/MyFeatureB...

I can't delete this local svn working directory on windows

i want to delete just my local working copy (no server changes) and i am getting the following error: Cannot delete dir-prop-base: access is denied Make sure the disk is not full or write protected and that the file is not currently in use. I have tried using Unlocker but it says that no process has a handle to this and when i selec...

SVN revision number

I have a svn repository where files are checked in in this format. <filename>.<ext>-rev<revision number> There is another file where the revision number is entered. When build is done, then this file is parsed and the file with corresponding rev number is taken and renamed to a standard file name . and final build is done. How to get...

Free Visual Studio Build Automation Solution

I'm looking for a build automation solution for use with a Visual Studio solution space containing multiple projects of mixed source types (mainly Win32 C++ and C#). Also, all the code is stored in a Subversion repository. So it needs to go all the way from pulling down a working copy of the code, to compiling the source, to building t...

Sandboxing website best practices?

I currently work in a web shop with almost no formal processes and a million PHP websites, including tricky stuff like custom CMS and shopping cart code. We are trying to improve things. I am pushing for CVS/SVN. My question is, what is the best practice for sandboxing website work? We are on the LAMP stack. Some of our sites have h...

Fixing a broken subversion setup

In an really lazy moment, I updated a project by copying in and overwriting half its files with identical ones from a fork. It seems I copied in some subversion info as well as every time I try to update I get conflicting messages. The project works well. I want to commit it exactly as is. But Tortoise SVN seems to see the older mixe...

How can I enforce a reviewers name being entered into SVN commit comments

I currently block any commit to SVN that does not contain a comment using pre-commit hooks. Now I wish to extend this so that the Commit comment must have the line "Reviewed by: name" Currently the pre commit hook file looks like :: SET REPOS=%1 :: Transform forward-slashes to back-slashes for Windows :: SET REPOS=%REPOS:/=^\% "...

Bash case syntax - meaning of "-@"

I'm not familiar with the semantics of the "-@" in the bash script snippet below, which is from /etc/bash_completion.d/subversion. I'm trying to understand why bash reports "syntax error near unexpected token '(' on this line, I have two questions: What is "-@()" expected to do here? Why might bash be unhappy with this statement? case...

Git or Subversion for binary files

We need to store binary files (mostly MS Word documents, ranging from a couple of KB to a couple of MB in size) in a version control repository with over 100 "projects". Currently we use Visual Source Safe but there are some problems, the database is crashing sometimes and the access is slow. We are considering moving to Git or Subver...

SVN replicate directory

Is it possible (or even practical) to copy directory from one SVN repository location to another, retaining tho old one and keep history for each individual file in both places? So far I see SVN import which copies the directory but looses the history or SVN move which relocates the directory. Here's a brief example: COPY SVN_ROOT/proj...

How to change subversion settings in xcode?

Hi, I've had subversion running in Xcode for a while. The integration of subversion has always hung by a thread. However my subversion server has changed its ip address ... and my xcode project still tries to look up the source on the old ip. I have changed the ip of the subversion server via the SCM menu in xcode ... however these cha...

To put the prefix ?<revision-number> to codes by Git/Svn

How can you put the prefix ?v=VersionNumber to each file at your repository efficiently by Git/Svn? I found out that SO uses the practise to give version numbers to each specific file in its repo. They use SVN. I would like to know how you can do the same by Git. A few examples. #1 <link rel="stylesheet" href="/content/all.css?v=39...

capistrano/deprec using :user instead of :svn_username to log into svn

Hey all, I'm using deprec with password-protected svn. I need to use a different login/pass for svn than for logging into the server. The deprec way to do that is :svn_username, as far as I can tell, but it doesn't seem to be working. deprec (2.0.13), capistrano (2.5.8). Snip of deploy.rb / bash: http://pastie.org/pastes/545876 Than...

Disabling the constant upgrade messages from subversion clients...

Most everything about the subversion eco-system makes me happy; however the reminders to upgrade to newer versions of the tools gets annoying. Is there any way to turn these off if I am rolling the client to hundreds of workstations? I know I can dismiss the dialog box and tell it not to remind me but I want to never show the dialog bo...

Restructuring a Subversion Repository

I've read about the svn move command but haven't been able to use it the right way... Here's my situation: I have a project with 5 components. Right now, I've made separate Repositories for each component and they all have a flat structure. I'd like to move all these components into a single repository so that I'd finally have a structur...

TortoiseSVN - missing files in client

Hi all, I just deleted two files in the client and when tried to update those two files were missing, but they were in the server. I tried "cleanup" and then "update" which didn't work. But when I checked out a new version to a different location the files were there. In what situation this scenario happens? Initially I have "added" f...

Does SharpSVN have an API to manage repository permissions

Does anyone know if there is any API exposed to manage repository permissions within SharpSVN? For example, programatically adding read and write permissions on a per repository basis. Alternatively, any other thoughts on managing permissions with other SVN APIs? Worst case wil be manually managing the contents of svnaccessfile but this...

What's the best FREE collaborative platform for 2/3 programmers?

Hello, first of all I searched for similar question, there are many, but does't fit my requirements or are outdated (for example Assembla seems to not be free anymore) We are two developers that would like to work on some common small projects during our free time. Our mainly need is to have a SVN repository that allows possibly to ha...

Maven: Commit single artifact to svn repository

How can I commit a single artifact like a file or a directory to an arbitrary location in a svn repository in the deploy lifecycle phase? With repository I mean a plain Subversion repository here, not a Maven repository held in a Subversion repository! I have already evaluated the wagon-svn but it seems it can just be used to commit a w...