File Manager Integration for Linux (TortoiseHG)

Summary

Last milestone: Packages for Ubuntu/Debian.

Current development: Polishing the UI and exploring the use of libglade.

Current implementation

Source code

Ubuntu packages

There are packages available for Ubuntu at [https://launchpad.net/~gpoo/+archive Personal Package Archive]:

It is possible to use those packages to build them for Debian or any other Debian based distribution.

These packages have some caveats:

Observations

Packages and distributions:

Nautilus menus:

Milestones

  1. Improve the integration between Nautilus and TortoiseHG
    1. Make the plugin stable (./)

    2. Enable the plugin works not only in debug mode (./)

    3. Fix/Enable support for submenus (./)

    4. Enable other options still hidden for Nautilus
  2. Provide a consistent GUI to follow a project using Mercurial
    1. Get possible reusable widgets out each dialog
    2. Propose an integrate UI with the refactores widgets
    3. Improve the UI
  3. Other improvements
    1. Provide packages for a Debian based distribution (./)

User Interface Improvements

From a technical point of view, it seems it is not clearity when a GtkDialog and/or a GtkWindow is used in TortoiseHG. Some of them are GtkDialog and some of them GtkWindow without any clear distinction.

The following diagram shows the relation between dialogs/windows. There are two windows that can be invoked from the shell (hgtk) or from another window (history). Please note that history is also invoked from the shell (hgtk log) but for simplicity doesn't appear linked in the diagram.

Because both update and datamine can be invoked directly or indirectly from hgtk is needed to know how to close the dialog (hide it or destroy it) according the circunstances.

Cloning repositories

The following screenshot show the current user interface of hgtk clone:

The usability may be improved just agruping common items and using proper buttons instead of a toolbar. The button 'X' in the upper right corner is reduntant, because the window managar provides such button and in a dialog a button 'Cancel' or 'Close' could give better feedback.

Merging repositories

The same criteria as Cloning repositories may be applied in this dialog. The current one is:

and the proposal:

It worth noting that the former window has two different behaviors: merge and undo a merge. The button in the toolbar is activated/deactivated according to that. The same happen with the label "Merge with revision".

It could be confusing having two dialogs in one. One possible change could be:

Updating repositories

Selecting a changeset

The actions merge and update allows to select the changeset to be used, which may be choosen by the user filling the entry field or browsing the logs. The logging browsing is a common window:

The data is the same shown as hgtk log, but shorter. It would be nicer to share the same widget to choose the current.