To celebrate the new year (admittedly a little belatedly), how about a new major version of SourceTree for Windows? We have a doozy for you to start off 2014.
You can now use SourceTree for Windows to interoperate with your old Subversion projects via git-svn. This works by letting you work with a Git repository locally, but you can interact with a remote SVN repository via clone, push, and pull, thereby combining the benefits of a fast and flexible local DVCS, while still collaborating effectively with your projects that are still running legacy repositories.
Command line interface
You can now call SourceTree.exe from wherever you installed it on the command line, and by default it will open up the nearest containing repository for your current directory. You can also specify a different path, and ask SourceTree to immediately navigate to certain views or run certain commands, like so:
SourceTree [-f path] [ <command> [<command_params>] ]
The commands you can use are as follows:
|Opens the clone dialog with the provided URL.|
|Opens the repository at the File Status view.|
|Opens the repository at the Log view|
|Opens the repository at the Search view. If <pattern> is specified, immediately searches for that text.|
|Opens the repository and then opens the log for <file>.|
|Opens the repository and immediately goes to the commit dialog.|
You might wish to add SourceTree’s install directory to your path to make this accessible anywhere.
Thanks to your response to our call for translators, SourceTree for Windows 1.4 now comes in six languages: English, Japanese, Chinese, French, German, and Russian. The latter three are not 100 percent complete yet, but the major elements are translated; If you’d like to help fill in the remaining blanks, please join in the translation effort!
Patch file support
You can now create and apply patches within SourceTree – You can work effectively with patches comprised of uncommitted working state, and with patches containing one or more complete commits. SourceTree gathers all the options for generating a patch into an easy interface, and does the work of recognizing the relative paths and strip options when you’re applying a patch so you don’t have to work it out manually.
You can find the patch features on the Actions menu, labelled Create Patch and Apply Patch.
Would you like to export a full copy of your source without all the Git/Mercurial history and metadata, either at the current state or at some other point in history? Archive is the feature you need for that, available either on the main menu (Repository > Archive), or on the context menu against a commit in the log (right-click a commit and pick Archive).
We want to make SourceTree an even better product for you, and to do this we’d love your help in finding out how you use our product. In the latest version you’ll get a popup asking if it’s OK to gather some data about how you use the product. We want to emphasize that no personal data is taken whatsoever.
We also added a bunch of other smaller things, such as:
- An optional spell checker in the commit dialog
- The ability to bookmark open repositories which you opened with File > Open or via the command line
- Configurable conversion of tabs to spaces in the diff view
- Improved multi-monitor support
- and more…
We hope you like the new version of SourceTree for Windows!