Thursday, April 3, 2014

Mercurial's complementary tools

On Mercurial installation I've mentioned how Solaris Studio 12.3 integrates it.
Now I'd like to mention a few other tools that also go with Mercurial:
  
  • vim          (for syntax highlighting or patch files)
  • meld        (for a visual diff and merge tool) 
  • emacs     (IPS package gnu-emacs)
 
Use pkg info -r to check both them on the IPS repository.
To install, it suffices to emit the respective pkg install commands.
 
$ pkg info -r vim
          Name: editor/vim
       Summary: Vi IMproved
   Description: Vim is a clone of the Unix editor 'vi'. 

                It is a modal text editor with support for 
                syntax highlighting, ...
      Category: Development/Editors (org.opensolaris.category.2008)
                System/Text Tools (org.opensolaris.category.2008)
         State: Installed
     Publisher: solaris
       Version: 7.3.600
 Build Release: 5.11
        Branch: 0.175.1.1.0.2.0
Packaging Date: October 23, 2012 05:15:31 PM
          Size: 21.63 MB
          FMRI: pkg://solaris/editor/vim@7.3.600,...


$ pkg info -r meld

          Name: developer/meld
       Summary: meld - graphical diff and merge tool
   Description: Meld is a visual diff and merge tool. 

                You can compare two or three files and 
                edit them in place (diffs update dynamically).
                You can compare two or three folders and 

                launch file comparisons. 
                You can browse and view a working copy 
                from popular version control systems 
                such such as CVS, Subversion, Bazaar-ng
                and Mercurial.
      Category: Applications/System Utilities
         State: Installed
     Publisher: solaris
       Version: 1.4.0
 Build Release: 5.11
        Branch: 0.175.1.0.0.24.0
Packaging Date: September  4, 2012 05:16:52 PM
          Size: 1.25 MB
          FMRI: pkg://solaris/developer/meld@1.4.0,...

 
It's pretty much cosmetic but here's how they respectively look like: