svn

Does CruiseControl.NET support access to a repository via the http protocol?

I am trying to set up cc.net on the project I'm working on at the minute. I have done this before using a config containing lines like these: and svn://svn.mycompany.com/myfirstproject/trunk However this time I only have read only access to the repository via HTTP as opposed to via svn. Will the same config work with the trunkUrl set ...

Last existing revision of deleted file in SVN

So I removed file X from SVN many moons ago, and I have the revision number of that delete. I would like to know the revision number of the previous commit (i.e. the last existing version of file X). CVS was sequential, so I could just -1, but this does not appear to be the case with SVN. ...

how to run a batch file in php under xampp on windows

I'm trying to write a little php to update an svn repo on a server running xampplite under windows. (This is a development server, not a production one.) Here's my php: <?php passthru("update.bat"); // I also tried exec() & putting the svn command in directly ?> update.bat is sitting in the same folder as the php script Here's the ...

Convert SCCS repository to SVN

I'm investigating migrating a source code repository currently kept under SCCS on an aging Digital UNIX box to Subversion on a Windows box. My initial searching has led me to a python script, sccs2svn, which looks like it would do the job - with some restrictions. A du -sk on the SCCS directory shows it to be about 550MB in size. From w...

how can i know which version my working folder is based on?

I am using Tortoise SVN, how to know the working copy's version? ...

Cygwin SVN symbolic link checkout broken

I've installed the latest version of Cygwin on Vista with SVN, Make and GCC in the installation. When I SVN checkout from a repository with some symbolic links in it, the symbolic links are not converted to symbolic links on Cygwin, rather they are just left as regular ascii files with "link ../../blah/blah" inside them. SVN proplist of...

Find the file with a given SVN URL within a SVN working copy

Given a starting point in a Subversion working copy (e.g. current working directory), and a target SVN URL, I'd like to find the file in the working copy that has that SVN URL. For example, given this current directory: c:\Subversion\ProjectA\a\b\c\ which has this SVN URL: https://svnserver/svn/ProjectA/trunk/a/b/c/ I'd like to lo...

How to resolve "Publishing failed: Error creating zip file XXX.jar: duplicate entry: .svn/entries"

I have a modular Dynamic Web Project in Eclipse. When I try to publish this project to my embedded Tomcat server, I get this error: Publishing failed Error creating zip file XXX-web.jar: duplicate entry: .svn/entries duplicate entry: .svn/entries Error creating zip file XXX-domain.jar: duplicate entry: .svn/entries duplicate entry: .svn...

Marking a file as "do not commit" for a repository (not locally) in Subversion?

I'm wondering if there is some trick to keep a file in the repository that will be fetched by anyone checking out the repository, but that will never be committed to the repository unless some kind of explicit action is performed. Basically, what I'm looking for is a way to have files with default values that can be modified locally wit...

How exactly to do a Subversion pre-1.5 style merge?

I have to deal with Subversion 1.4 merges at the moment and have found this answer to a question, which exactly describes my problem. The actual question deals with git-style rebase and merge problems with SVN which produce tree conflicts. It includes the following recommendation: [...] instead of range-merging the branch to a workin...

Does tortoise or ankh svn have log dump capability?

I'd like to include revision history in a menu system of my builds so that users can see it and it's auto-built from the svn repository before each build. My team doesn't have the core svn, only tortoise and ankh. I'd rather not have to go through configuration of it on each machine we use just for this feature if one of the tools we alr...

Delete all files from svn repository

Hi, probably this is a very easy question but I did not find yet how to delete all files present at the moment in a external svn repository. I can delete just one file using: svn delete -m "delete README" http://myrepo.com/svn/myrepo/README But now I want to delete all of them. I thought about a script which gets the list of all the ...

CCNet: How Do I copy the svn revision number to a file in MSBuild?

Does anyboy know how to pass the LastChangeNumber parameter into MSBuild? I'm trying to use this: <Exec Condition=" '$(LastChangeNumber)' != '' " Command=">\\server\destination\subversion_revision.txt echo subversion $(LastChangeNumber)" /> Which successfully ignores the condition if I leave out the LastChangeNumber parameter from th...

What is the simplest way to do branching and merging using Tortoise SVN?

I have not found a really simple "how to" any where so I came up with my own through trial and error and wanted to share it, i.e. I will answer this question myself. ...

How can I get c-function based diffs?

Our team uses svn to manage our source. When performing a re-factor on a C file, I occasionally both change functions and move them within the file. Generally I try to avoid moving functions, because it makes the default svn diff get a bit addled about what's going on, and it often provides a diff which is more confusing than it needs to...

See last changes in svn

I paused development on a project before going on holidays. Now after a few weeks I'd like to know what were the last things in source I was working on? Is there a chance to see e.g. in WebSVN the last changes in the whole repository? ...

Xcode and SCM conflict error.

I am getting this following error even though i am the only person working on this project. > Error: 155015 (A conflict in the working copy obstructs the current operation) Description: Commit failed why would this occur as all i keep doing is committing the project every time before do some serious coding. I have committed three time...

How can I use svn+ssh in a PHP script?

i can't figure out how i should access the repository from a CakePHP project called fredistrano (you can do CakePHP deploys with a web 2.0 interface). i have fredistrano in my web broadcasting directory on a shared unix web server. when i use tortoisesvn from my laptop, i have to use svn+ssh://[email protected]/svnpath/trunk/. i tri...

How to have Subversion store an empty directory

I am trying to have a folder be checked in, so that when I export from SVN it gets created as part of the exported file hierarchy, so that it will be there for an app (beyond my control) to dump files into. However, I never want its contents to be checked in. How do I have SVN 'track' the folder but ignore its contents? I'm using Tort...

Copying the .svn directories from a checkout to a non-checkout to make it a checkout

I have a large application in a production environment that I'm trying to move under version control. So, I created a new repo and imported the app, minus various directories and files that shouldn't be under version control. Now, I need to make the installed copy a checkout (but still retain the extra files). At this point, in a recent ...