SmartGit 6.5 preview started

The first public preview build for the upcoming SmartGit version 6.5
is available. The most important changes are:

  • External Tools are more powerful
  • Improved memory consumption
  • Log file/content filters
  • auto-update across major versions
  • Distributed Reviews: better handling of pull request heads

Update from September-12:

Beside other fixes, the second preview build fixes a nasty problem for users of the non-commercial edition. Those who could not start the first build successfully, please download the second preview build. For all others, it should update automatically.

You are welcome to give it a try!

Download
Detailed changelog

file.exist() and broken symlinks

Today I’ve found a problem with file.exists() for broken symlinks on OS X. Here is a simplified code example:

for (File file: files) {
  if (!file.exists()) {
    continue;
  }

  if (file.isDirectory()) {
    deleteRecursively(file);
  }
  else {
    file.delete();
  }
}

This looks quiet fine at the first sight, but this may cause problems if the file is a broken symlink, because file.exists() returns false for a broken symlink. Hence, in the above example code, the broken symlink will not be deleted.

Launching Terminal (cmd.exe) from Java

Until now SmartGit used following command for its default Open in Terminal external tool:

cmd.exe /k start /d <path>

This did not work for paths like C:\foo, bar+=hello & world though SmartGit had logic to escape the path in this case when launching cmd.exe. Also, the Task Manager showed two running cmd.exe processes, one remaining after the window has been closed. Changing the command to

cmd.exe /c start pushd <path>

resolves both problems and the path-escaping logic also is not necessary anymore.

SmartGit/Hg 6 released!

We are proud to announce the official release of SmartGit/Hg 6. The most important new features are Distributed Review, Background Fetch and Reworked Repository Management. Check out What’s New for a more detailed list of improvements in version 6.

SmartGit/Hg is a graphical front-end for the distributed version control systems Git and Mercurial, which also can be used to work with Subversion repositories. SmartGit/Hg runs on Windows, Mac OS X and Linux.

SmartGit/Hg can be used free of charge for non-commercial purposes (e.g. OpenSource developers or students). For commercial use or if support is needed, you can purchase a commercial license. The commercial license includes 1 year of free updates and either 90 days or 1 year of e-mail support.

Download SmartGit/Hg 6