We peeled back the covers on Sourcetree – Atlassian’s Mac Client for Git and Mercurial distributed version control systems, and we are announcing a fresh new logo, a redesigned website, and a new set of useful features to support your DVCS workflow. Plus, Sourcetree is now FREE for all users, forever.

What’s New in Sourcetree 1.3?

Submodule & Subrepository Support

Feel free to use Git submodules or Hg subrepositories with your projects – Sourcetree now supports both. Submodules and subrepositories are simply a reference to another repository at a particular snapshot in time.

  • Software projects often times have dependencies on third party libraries
  • Developers need specific versions of a library in that have not been released, or prefer working with the source code

Want to get more in-depth about Git Submodules? Get a walk through here.

Custom Actions

Sometimes, a script is so valuable to your development workflow that you just wish the action would be built-in to the product. In the words of Sourcetree users: “This process is so important – just support it already!” Plead no more my friends – the new custom actions feature allows you to run your own scripts or processes right in Sourcetree’s menus as if they were built in.

  • Text editors: many Sourcetree users jump back and forth between the Sourcetree app and their text editor. Internally, a few of us use Textmate, so we’ve created custom actions (and a handy shortcut) to jump directly to Textmate. Now, we don’t have to check out our source and then open the directory; we can open it straight from Sourcetree. We’ve even bound the custom action to a keyboard shortcut. Easy peazy! Note: You can configure this handy shortcut with any text editor.Custom action to open TextMate
  • External scripts: hook into the context log and run external scripts for deployments, builds and testing.

Practically any action outside of Sourcetree can be configured into a custom action. Just upload your script in the custom action preferences, and these actions automatically appear in the correct menus depending on what parameters you reference. Run them with just a click of a button!

Integrate with Jira and Crucible

Many of our Sourcetree users are using Atlassian tools such as Jira and Crucible as part of their development process. Users can now manage their repositories with Sourcetree and link back to Jira issues and Crucible code reviews.

How does it work?
Sourcetree will automatically link Jira issues keys or Crucible code review ids that are referenced in your commit messages.

A Jira Example
When closing off a recent Jira issue, you include the Jira issue key in the commit message (e.g. SRCTREE-999). In Sourcetree, the log view allows you to browse through the history of a project, and you can easily identify all the commits that have Jira issues associated with it. If you are interested in a particular commit and want to explore the Jira issue, just click on the issue key, and you will jump right into your issue tracker.

Gain historical context and a further understanding of the why’s behind your team’s commits.

For those power users who want to dive a little deeper (I know you’re out there!), this feature is actually a specific use-case for another feature: regular expression replacements in commit messages. Supply a full regex match & replace string to replace any text with HTML that can link to any of your external projects.

Launch Sourcetree from Anywhere!

Launch Sourcetree to the closest repository containing your working directory – straight from the command line with the ‘stree’ command. Simply install the Command Line Tools from the ‘Sourcetree’ menu, and you’ll be on your way.

Note: This feature won’t appear in the App Store version as Apple does not allow helper installs. You’ll need to download an additional installer direct from the Sourcetree website to get this cool feature.

You’ll also be able to open a file with Sourcetree straight from your Finder. Right-click the file you wish to see and open with Sourcetree.

We didn’t stop there!

  • Mercurial 2.0 Support
  • Performance Enhancements
  • Shortcut Keys
  • Full screen support on Lion

Sexy on the Inside, Sexy on the Outside

All of these features come together to provide a smooth and easy development process for Sourcetree users. In order to accentuate this, we completely redid the website and created a fresh new logo to mirror the slick changes of Sourcetree 1.3. Admire the beauty.

New Sourcetree Website

Get Sourcetree for Free – Forever!

We are excited for the burgeoning integration between Sourcetree and Atlassian! If you’re new to Git or Mercurial, or just want a handy tool for DVCS, check out Sourcetree 1.3 today – it’s FREE at our brand spankin’ new website (don’t forget to check out our new logo and blog as well!)

Sourcetree 1.3 Release Blog – Welcome to the...