InfoQ

News

AnkhSVN 2.0 Source Code Control Package (SCC) for Visual Studio

Posted by Hartmut Wilms on Aug 29, 2008

Community
.NET
Topics
IDE ,
.NET Framework
Tags
Visual Studio ,
Subversion

AnkhSVN started as a Visual Studio add-in, which allowed to work on a Subversion (SVN) version-controlled project from within Visual Studio. Release 2.0 is a complete rewrite of the core engine, which is delivered as a free Source Code Control Package (SCC) for Visual Studio 2005 and 2008.

The current implementation is based on SharpSvn, a .Net 2.0 implementation of the SVN client API. Because SharpSvn supports the whole SVN 1.5 client API and the SCC provides deep integration with Visual Studio, AnkhSVN 2.0 offers a very rich feature set:

Pending Changes window

  • One window to handle the normal workflow.
  • Real-time overview of all project changes.
  • Easy access to most Subversion commands.

Merge Tracking

  • Easy-to-use wizard simplifies merging.
  • Wizard is merge-tracking aware.
  • Intuitive integrated conflict resolution
  • Supports all merge scenarios supported by Subversion 1.5
  • Works with Subversion 1.5 servers, and pre-1.5 servers.

Optimized workflow

  • Don't leave your IDE for most common operations.
  • Immediately view the source control status of all files in your project/solution.
  • View working copy information such as last committed author, last committed date and the repository URL.
  • Import new solutions automatically.
  • Get support for all Subversion transfer protocols.

Pluggable diff/merge

  • Plug in your diff/merge tool of choice.
  • Use command line templates for the most common merge tools.

Repository Explorer

  • Easily browse any Subversion repository
  • View extended information about remote files and directories in the Visual Studio Properties window

The current release offers many benefits over the 1.0.2 version. Perfomance has been increased significantly, the whole integration with VS including glyphs, badging and tools has been improved and the implementation of the SVN client interface is much more complete.  The AnkhSVN web site provides a complete list of extensions and improvements:

  • Pending changes window; subversion status and commands available in one place.
  • Full support for Visual Studio 2005 and 2008; AnkhSVN is now a SCC package instead of just an addin
  • Better log viewer
  • Merge support
  • Property editor
  • AnkhSVN now supports most project types previously unsupported via the SCC api.
  • All solution explorer actions (rename, copy&paste, drag&drop) keep subversion history now.
  • Enhanced build process and setup
  • Automatic check for updates
  • And last but certainly not least end user documentation
  • Read the official AnkhSVN 2.0 Final Release announcement, which contains the details of AnkhSVN’s history and provides links to roadmap, documentation, and downloads.

    Compared to Visual SVN by Francois Ward Posted Aug 29, 2008 9:44 AM
    Re: Compared to Visual SVN by David Cuccia Posted Aug 29, 2008 10:55 AM
    Re: Compared to Visual SVN by Kevin McFarlane Posted Aug 29, 2008 11:13 AM
    Re: Compared to Visual SVN by David Leon Posted Aug 29, 2008 1:02 PM
    Re: Compared to Visual SVN by Sander Rijken Posted Aug 29, 2008 3:38 PM
    switch from TortoiseSVN to AnkhSVN or Visual SVN , etc. (VSudio tool) by Horacio Judeikin Posted Sep 2, 2008 7:58 AM
    Re: switch from TortoiseSVN to AnkhSVN or Visual SVN , etc. (VSudio tool) by Francois Ward Posted Sep 2, 2008 10:43 AM
    Re: switch from TortoiseSVN to AnkhSVN or Visual SVN , etc. (VSudio tool) by Eric Smith Posted Sep 3, 2008 10:21 AM
    1. Back to top

      Compared to Visual SVN

      Aug 29, 2008 9:44 AM by Francois Ward

      I haven't tried AnkhSVN in a while, and definately not this latest version... Any insight as to how it stacks up when compared to Visual SVN now?

    2. Back to top

      Re: Compared to Visual SVN

      Aug 29, 2008 10:55 AM by David Cuccia

      I can't speak to the feature list, but after a few weeks of switching from Visual SVN, I've found it to be very stable and speedy. Wasn't happy with earlier Ankh versions re: VS2008 compatibility and integration, but now I'm pretty impressed. No good reason to convince my team to pay for Visual SVN.

    3. Back to top

      Re: Compared to Visual SVN

      Aug 29, 2008 11:13 AM by Kevin McFarlane

      Not used Visual SVN. I've only used the 2.x version of AnkhSVN and found it to be fine. However, I am aware that earlier versions had issues.

    4. Back to top

      Re: Compared to Visual SVN

      Aug 29, 2008 1:02 PM by David Leon

      I tried it just a few days ago. I found there were pretty sizable performance degredations under VS2008 SP1. Visual Studio 2008 SP1 is already unacceptibly slow on an Intel E8200 Wolfdale (2.66GHz 6MB of cache). By that I mean that it takes 30 or more seconds to load and view ASPX web pages in split-view mode. I found that AnkhSVN 2.0 turned half-minutes and into minutes. They really need to work on the speed. Relflection is a bad thing, when used all the time.

    5. Back to top

      Re: Compared to Visual SVN

      Aug 29, 2008 3:38 PM by Sander Rijken

      I have not experienced the slowdown myself, but could you submit this problem as a bug and/or let the AnkhSVN community know at the forum so it can be investigated and resolved?

    6. I use TortoiseSVN and I'm very happy.
      Is there any real 'killer' reason to move to AnkhSVN or Visual SVN?
      TortoiseSVN provides me all the SVN integration I may need (including documents outside visual studio), all in a centralized/single application, perfectly integrated into the OS file explorer. No VS performance degradation (it's not integrated), etc.
      I'm missing something? What's the point?

    7. Integration with Visual Studio, of course. I mean, integration is the whole reason we use an IDE, no? (Integrated Development Environment). Visual Studio also knows better which files you may need to checkin, less management, etc.



      I don't know about Ankh, but what I liked in Visual SVN, was that it integrated Tortoise with Visual Studio, so you really got everything Tortoise had to offer, and all of the Visual Studio integration you may wish for... It was pretty much perfect.



      I'll have to try the new AnkhSVN to see if I need to update my point of view, though.

    8. The 'killer' reason for IDE integration for me is handling refactoring, such as when renaming a class also causes a file to be renamed. This was the only reason that I used the old version of AnkhSVN, since Tortoise was superior for most other things. I'm not sure how the new version compares.

      With IDE integration, it can also be nice to have files automatically get added to SVN when added to a project (or deleted when removed), but that's less of a big deal.

    Educational Content

    Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

    Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

    Are You a Software Architect?

    The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

    Agile – A Way of Life and Pragmatic Use of Authority

    The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

    Getting Started with Grails, Second Edition

    "Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

    Using ITIL V3 as a Foundation for SOA Governance

    Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

    Adrian Colyer on AspectJ, tc Server and dm Server

    SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

    Adam Wiggins on Heroku

    Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

    SOA as an Architectural Pattern: Best Practices in Software Architecture

    For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.