Tag | Subversion Posts

Today is supposed to be the longest day of the course. I'm wondering if that's realistic. We started a little later than usual because we're all feeling the stupor from sleep deprivation. But hey, you can only learn when you get out of your comfort zone. Pair programming frenzy Right now, we're driving out the domain model design, hitting it big time TDD style. JP spits out the tests. We're writing the implementation to them. There's a healthy competition amongst us. The first to make one test pass ...
I've gone through a few iterations of AnkhSVN over the last couple of years. The first installment was quite unstable and was only good for viewing the status of your source from within the IDE. You would use the other features at your own risk. However, Ankh looked extremely promising so I kept an eye out for updates. The last 1.x update I had installed was working rather well, though there were some limitations. With the release of 2.0 most of those limitations are almost forgotten history. Some ...
Thanks to all who attended the London .NET User Group meeting last night, a great turnout and lovely weather for slurping beers in the streets of Clerkenwell afterwards. As promised you can download the slidedesk for my CI Factory grok talk from here, and if yoiu want an extended version I'm presenting at NxtGenUG in Oxford on Wednesday 6th August. In the one hour or so I'll hopefully have time to actually create a SubVersion repository, edit the CI Factory setup file to create a new build server ...
Subversion is a version control server. To use subversion you need a subversion client. There are many available, including a command line client, free gui clients and commercial clients. When recommending subversion for source code control nearly everyone seems to recommed TortoiseSVN as the client program. TortoiseSVN is a windows shell extension that allows subversion to be used via the Windows Explorer context menu. One thing I love about it is that it integrates effortlessly with IDEs/editors ...
Subversion (SVN) just released version 1.5.0 recently on June 18, 2008. With it comes bug fixes and boosts in performance. It is highly recommended that you reference the release notes, and pay attention to merge tracking: Merge tracking means Subversion keeps track of what changes have been merged where. This reduces the overhead involved in maintaining branches, and gives users a way to inquire what changes are merged — or are available to be merged — on different lines of development. VisualSVN ...
The good folks at SlickEdit® hooked me up with a review copy of SlickEdit 2008 Professional, and I gotta tell ya I was pretty surprised. I didn't really know what to expect. I guess I just expected a less feature-rich Visual Studio, but that's definitely not what I found. First of all, I wouldn't consider SlickEdit to be a competitor to Visual Studio. It's more of a multi-purpose polyglot programmer's editor on steroids. First, on install, it asks about your editing environment emulation. This is ...
I know what your thinking. Oh crap here he goes again with recommending tools and or services. My question is have I ever steered you wrong? Yes I normally deal in freeware tools. Mostly due to me being cheap and thinking my skills should push me past that latest issue with code. So why recommend a commercial tool? Good question. A friend recommended to me this tool. I had used tools like .net reflector to look into DLL’s to understand the application I am adding. I had heard rumor of NDepend however ...
I took Jeff McWherter's suggestion to play around with SubText, and have successfully gotten SubText upgraded and running in VS 2008, .NET 3.5. My environment is the "Visual Studio® Team System 2008 Team Foundation Server and Team Suite VPC Image (Trial)" Virtual PC from Microsoft. Here are the steps that I followed: 1. Download and unzip the latest source code from SourceForge 2. Open Visual Studio 2008 Team Edition and Create a new Team Project (File - New - Team Project). I selected the MSF For ...
So I was about to create a dump of my subversion repository so I could split multiple projects into separate repositories. But then I got to thinking. Why do I want to create a dump? Well, the only good reason I could come up with was revision history. That reason wasn't good enough. The source that I wanted to split out was some common/shared libraries. Collaborating with a team member, we decided there were two compelling reasons why we don't need the history up to this point in time. First, the ...
In our previous tutorial we have seen how we can use XML axis properties to consume XML returned from a web service in Silverlight applications, in this example however we will look at how XML Literals and Embedded Expressions can be used to easily write fast and efficient Web Services. *Note XML Literals and Embedded Expression are Visual Basic 9 Exclusive features you might need Visual Studio 2008 and .NET Framework 3.5 installed. XML Literals and Embedded Expression are not limited to Silverlight/WPF ...
I have talked about the SlickEdit Tools and Gadgets in the past (here and here) and have always been impressed with both of them. Previously, the SlickEdit Tools were only available for Visual Studio 2005. Now that Visual Studio 2008 is here, SlickEdit has released an update that works with both VS2005 and VS2008. The catch here is that this is much more than a simple update. The major difference is that the tools have been organized into two products: the Editing Toolbox (datasheet), which contains ...
Our source control tree is setup with the projects at the root of our server and each has a separate trunk, tags, and branches. While this makes it very easy to have a location agnostic build and include all the dependencies in one place for a particular project, this aspect can be painful when you want to checkout the trunk of each project to a new developer machine. I wrote a little batch file to ease the pain. Sample Source Control Repository Project1 trunk tags branches Project2 trunk tags branches ...
I introduced my boss to Subversion recently, and of course he almost immediately had a problem. It turns out that as soon as he added his computer to a different domain Tortoise wasn't working on his existing projects. My guess is that it had to do with the Computer Name change. The symptoms he saw as that Tortoise was not recognizing that he made changes. In fact, neither the Update nor the Commit menu options were showing up. Tortoise was clearly confused. We tried a number of things including ...
Okay, so "everyone" hates Visual SourceSafe. But the simple truth is many .NET developers have access to it for free because it comes with their MSDN Subscription. So a lot of .NET developers use it and they are familiar with it. Not because it's the best, but just because it's there. When we launched the new company we too went with Visual SourceSafe because it was included in our subscriptions, we were familiar with it, and it was better than nothing. But since then it has failed us in the biggest ...
I use Subversion (1.4.5.25188) via Apache (2.2.6.0). I use CruiseControl.Net (1.0.1.1277) as our build server. I setup Subversion in a non-standard manner. And, it could account for the problem. All the users who access Subversion, do so via a domain login. That is except for the build user. I setup the build user as a local account on both the Subversion server and the Build server with the same password. I then setup a second location alias in Apache to also use SSPI authentication, but I set the ...
I've officially released my property grid extension project, called "ShinyDesign," under the open-source BSD-like license. I blogged about this project just a few days ago, and I'm excited to be releasing it to the public domain. In truth, there are some ugly hacks, and I'm sure I could have done a better job commenting on what I did. All told, the multiple-tab hack is probably the worst. The Windows Forms PropertyGrid does not allow you to directly add additional property tabs; rather, you add Type ...
Today it was decided that a bug fix that I recently added to our production branch in Visual Source Safe would not be included in an upcoming hotfix release as originally planned, so I was asked to remove it. My fix only touched 6 files, so my first thought was just to do it manually. Then I saw the rollback button in the 'Show History' window. If I were a betting man, I would have put good money on this functionality not only failing, but also wreaking havoc with our version history. However, I ...
Another small batch file hook for those running subversion on windows. This hook will allow users to update a log message on the old check-in. Note: Property changes are not versioned, so you will permanently loose the old message. Place this in a pre-revprop-change.cmd ------------- IF %5 EQU M GOTO CONT1 GOTO FAIL :CONT1 IF %4 EQU svn:log GOTO OK :FAIL echo "Changing revision properties other than svn:log is prohibited" >&2 exit 1 :OK exit 0 ------------ Technorati Tags: Subversion, ...
Are there really places that just use zip files for source control? Wow. I've been lucky to never have worked anywhere like that...VSS was always the lowest point I was at. Optimistic locking is a good thing; keeps things current. Friends don't let friends use VSS. Tortoise SVN has an adapter for TFS that allows you to see the status of your files (checked out, not checked out) in your explorer! Very kewl. Branching - How to Structure Your Sourcecode Folder Subversion can move the folder structure ...
I am using a great source control product Subversion. More information is available on http://subversion.tigris.org A great future of subversion is an ability to run a server script before the check-in is committed . The script has the ability to rollback the check-in. We are using this functionality to enforce comments for every check-in. To create a script, place any executable file into a hooks folder in the repository. You can start with a ... Read full article Technorati Tags: Development,Subversion,Tips... ...
Phil recently blogged about a newly discovered security vulnerability in the Subtext blogging engine due to a flaw in the way the FCKEditor control was integrated. As far as we know, no one was seriously affected and both a fix and a workaround were found very quickly by the core development team. If you are running Subtext 1.9.x, a patched version of the Subtext.Providers.BlogEntry... is available as a zip file. After you download the patch (Subtext1.9.5-PATCH.zip 7.72KB) , unzip ...
I signed up to a SubVersion and Trac hosted service nearly 12 months ago with the aim of moving all my source code repositories from my local server onto a centrally managed system hosted by hosted-projects.com. At first I was concerned about reliability of access, availability levels and the level of customer support I would receive for what is a bargain US$15 per month (with an additional US$15 per month for nightly backups). Those concerns were completely unfounded. In the past year I have had ...
I'm sure there is a Microsoft exam on how to handle custom errors in ASP.NET, and even how to verify query strings before processing them. It might be in their forums, http://forums.microsoft.com, but not at this URL, http://forums.microsoft.com... Yep, we have a Server Error in '/Communities' Application in full display with instructions on how to turn on custom error handling. Obviously no web application I've every written would do something ...
Since February I work as independent contractor, and so far I like it a lot but the only thing I miss about working from home is face-to-face contact with other developers. So after listening to Scott Hanselman's podcast on how to become a better developer I decided to take one of his advices and organize a geek dinner. I invited few friends from my past jobs and our Kraków .NET User Group. We met in nice indian restaurant near Kraków's market square and had great time discussing all maters mostly ...
You can obtain a VMware virtual machine running Ubuntu Linux server addition 6.06 with subversion mostly configured at the following link. http://www.young-technologi... I’ve played with it a little bit and it seems nice so far. I am using this because it’s easier to set up then subversion on windows. Nice features include everything mostly set up, and automatic hot backups which can be accessed by a UNC path. This should make backing up your repository to ...
UPDATE (12/17/2007): My blog has moved. This post is now located at: http://jason.whitehorn.ws/2... Just today CodePlex released a bridge to allow subversion access to CodePlex. SvnBridge works by running locally on your box, and emulating a subversion server. The SvnBridge turns around and translates those calls into calls to the TFS server that CodePlex runs. You can download SvnBridge from here. And while you are at it, check out SmartSVN. Its a free subversion ...
UPDATE (12/17/2007): My blog has moved. This post is now located at: http://jason.whitehorn.ws/2... I have just started my first project on CodePlex. The project is aspNETserve, a ASP.NET web server written entirely in C#. The purpose of this project was mainly for me to gain a deeper understanding of ASP.NET. In the short time that I have been working on this project, my knowledge of ASP.NET has grown by leaps and bounds. I plan on writing about some of the specific things ...

Brain Ritchie has written an excellent post mentioning the steps to RSS enable your Subversion Change Log. You can check it here.

Thanks Brain and Martin Pittenauer for your contribution.

Here's the culmination of my research into CI Factory and how I'm not using it to develop my open source RapidDB libraries. This is a fairly personal setup, as it only has a single developer (me), two development machines (currently an office desktop PC and a roaming laptop) and a build server which is not publicly accessible via the Internet. An MSDN and Microsoft Partner Action Pack subscription are busy covering my software license requirements. Summary: Development PC 1 : Desktop, XP Pro SP2, ...
A minor glitch while getting CI Factory up and running. I discovered how important it is to make sure that you keep your version of SVN.EXE (command line SubVersion) in step with that of TortoiseSVN. As TortoiseSVN informs you of upgrades, I'd happily updated it to v1.4.x automatically, leaving my SVN.EXE at 1.3.x. The gotcha was that the installation of CI Factory was fine - it used the older v1.3.x client to create the project tree. After I had used TortoiseSVN to add some projects, it was only ...
While the TFS team didn't put everything into the 1st real release of TFS, they certaintly are getting tools/powertoys/helpers/gui... out there to the community in real time. Driven by the initial need to ship, the TFS team clearly had to make some feature choices in order to meet the late 2005 schedule on the 1st release. That's just the dynamics of shipping product. However, what they've done is put out, on a psuedo supported mode (non PSS or is it CSS now?), tools that make the TFS experience ...
Here, in the continued foray into LINQ and the 3.5 (Orca's) release, is an implementation of LINQ over NHibernate. http://ayende.com/Blog/arch... Oren Eini provides a starting point, if not a great example of how LINQ can be expanded to work with data represented in different forms. Hosted up on SourceForge right now in subversion there's also a zip download on his site (NHibernate.Linq.zip (2234082 bytes)). Now, all I need is LINQ for my keys.... (car keys that ...
Before we dive in make sure you read my introduction post here, and that you have followed the screen cast on how to setup CI Factory. My notes will basically follow that procedure and highlight the differences when you have development tools on your D: drive. This is an early list, but hopefully it should give people pointers on how to get going quickly; I'm assuming that your development PC already has Visual Studio 2005, and SubVersion 1.4.3. In addition I had to install NCover 1.5.5 beta and ...
A friend from the London .NET users group, Peter Ibbotson, on hearing that I had started looking into Cruise Control .NET for continuous integration said that before doing anything I should look at Zi Makki's blog about CIFactory, a master setup tool for creating a source code tree complete with various tools such as SubVersion, NCover, NDepends all hooked into CruiseControl.NET with NAnt as the build script automating the processing. Well, I've just spent a challenging but very satisfying day and ...
They all have to start someplace. So as I sit here watching Lost I finally decided to start blogging after reading thousands and thousands of blogs over the past 3 or 4 or more years Living in the Bay Area means I'm currently in the center of the web 2.0 bubble. It was great when I was searching for a new job 4 months ago. I currently work for a startup ( I'm employee #6 ). We are doing a lot of cool things with .NET, web services, SOA and SaaS. There might even be a developer community around the ...
Google Labs has come out with a new means to find source code online. Google Code Search is a feature that returns hits from within posted source code. It did not take long for me to ignore the main page and set the advanced search page as my shortcut. So far, it seems heavily weighted towards Java (not surprising), with less available from C-based sites. The results layout also needs more differentiation between each separate result -- things blend together too much. More to follow as I use the ...
In this article, I have assumed that the reader is aware of the basic functionality of Subversion. This article has been written to make the usage of Subversion more efficient and more effective, as not much information is available on this subject in context of Subversion. Although most of the things are already mentioned in the Subversion Documentation, but going through such vast information in one go becomes something uncommon. So it is good to have small articles targetting a specific feature ...
I decided I was sick of Visual Source Safe so I thought I'd setup Subversion as my source control service. I knew it would take some time but there is NO way I couldn't have done it without the resources I am listing below. There were a number of things I just had to tinker with, too, to get it the way I need it so I am posting some of my discvoeries/bumps here as well. I hope these might help someone who have used similar resources but are having difficulty getting going. SETUP I read the excellent ...
Our data layer project has the usual hundreds of generated files. Several months ago that was no issue, but over the last month or so things began to get slower and slower. My first attempt to get back to reasonable performance was to break the data project out of my main solution. For the last few weeks even the separate project was hard to work with. I turned off Ankh, the Subversion add-in for Visual Studio. That seemed to help a bit. I even tried turning off Norton when loading the project but ...
This post is for someone who's like me, i.e., has never used Sebversion before, and the documentation, although there's certainly plenty of it, doesn't really follow the KISS principle. Software * Subversion - the version control software. * TortoiseSVN - GUI for Windows Explorer (not IE) * AnkhSVN - Add-in that enables the use of Subversion directly from Visual Studio * SVNService - Runs the Subversion "daemon" as a Service in Windows, on the Server side. Branches, Tags and Trunk: * Tagging: You ...

The Subversion for Windows HOWTO describes from a beginner's perspective, how to install the Subversion server on a Windows system, and get it running.

Read HOWTO: Subversion for Windows with Apache server - a beginner's guide [version 0.4]

I have found today an Ubuntu package with some scripts of mine (nautilus scritps for subversion) it is called nautilus-script-collection-... I love subversion and missed a lot TortoiseSVN features on gnome nautilus, thus I helped Marius Scurtescu on his nautilus scripts. Thanks to Lukas Fittl for packaging our scripts and putting it on Ubuntu Universe repository Of course, it is far from beign some kind of TortoiseSVN for Linux, but it does help a lot and is the most we could archeive with nautilus ...
Download the binaries For Server machine: Go to the Apache download page and download the version (apache_2.0.54-win32-x86-no... of Apache web server. I tried downloading some latest versions also but faced few issues in installation, so I continued with version 2.0.54. Go to the Svn1ClickSetup download page and download the latest version. As of the writing of this article it is 1.3.2. For Client machine/s: It will be sufficient to just install Tortoise SVN Client, it can be downloaded from ...
I set off intending to experiment with Team Foundation Server recently to potentially replace our Subversion deployment. As I built up my virtual machine for the TFS application tier I went to install the data tier on our beefy 64-bit SQL Server machine and was stopped by a problem: SQL Server 2005 Reporting Services service is installed on the data-tier computer. The service should instead be on the application-tier computer. Uninstall SQL Server 2005 Reporting Services from the data-tier computer ...
Well, I was able to squeeze in _some_ coding time last night and this morning. The update to Managed DirectX is all finished. It's kind of nice to see FPS should up from 90 fps to around 550 :). All in all, it took about three hours to upgrade from GDI+ to Managed DirectX. Boy am I glad that I wrote the infrastructure the way I did. After a quick refactoring (making it so the IGraphicsService implementation rendered the Sprite rather than the Sprite itself), all I had to do was implement a new Direct3dGraphicsService ...
Not much to report today. I had some family engagements so I was only able to spend 20 minutes or so on the game. I did get a new repository on my Subversion server created and a bare-bones project imported into it. I have the simple "Hello World" app per usual. Tomorrow evening I'll really get started on the sucker :). Why Spaceballs? Well, I was feeling frisky and, frankly, _maybe_ just a tad bit drunk (those of you who know me may laugh now). I also wanted to give a bit of an homage (as we learned ...
Using the msbuild community tasks project it becomes easy to change App.config and Web.config files as part of the build process. I've recently implemented a build script for a smart client application that allows building in multiple locations connecting to different application servers. First, download the msbuild community tasks project. You can get this from subversion using the following command: svn checkout http://msbuildtasks.tigris.... msbuildtasks --username guest ...
As you may have read in a previous blog entry, several months ago I migrated my organization's existing .NET 1.x projects from Visual Source Safe to Subversion. As expected I ran into a few snags along the way, and one of which I'm thankful I encountered. It turns out that ASP.NET projects in VS.NET 2003 will not open if a directory exists with a name that begins with a period, as in “.svn”. This is bad because subversion clients use “.svn” hidden folders to manage items under ...
As promised in my previous post, here are the steps I executed to migrate .NET projects in VSS to Subversion: NOTE: These instructions will not migrate the file history from VSS. If you're interested in putting this history in Subversion, see the vss2svn project. Additionally, these instructions assume you've installed the Subversion server software, and you have a subversion client running on your workstation. DISCLAIMER: If these instructions don't work for you, don't blame me - though, I'd be ...