hgit -> hgk.py

Vincent Danjean Vincent.Danjean at ens-lyon.org
Mon Sep 19 21:36:27 CDT 2005


Matt Mackall wrote:
> I've committed the following to tip:
> 
> Move hgit to hgk.py
> - importing hgit as an extension created compiled hgitc, which was
> confusing
> - hgit existed to support hgk so it was slightly misnamed

hgit was also used by git-viz/hg-viz (even if it has been some time that
hg-viz has not been updated)

> - removed executable bit as we no longer run it directly
> - add 'view' command so we can run hg view
> - change git-* commands to debug-* so hg help won't show them
> - chdir to repository root on view so hgk doesn't choke in subdirs

I just work on the 0.7 version. I made a 0.7-3 debian package on my
webpage[1]. With what you tell just before, I am not sure I will send it
to the debian archive. In this package, I installed hgit as a
system-wide extension.
Even if you remove hgit as you just tell, some of the patches can still
be interesting. There is :

# FAQ_subst.patch (357b) : add a pointer on the web page in the package
# copyright_in_manpage.patch (911b) : correct copyright symbol
# bash_completion_is_not_a_script.patch (395b) : no #! first line
# system_wide_hgrc_dir.patch (2 kb) : hg reads
   /etc/mercurial/hgrc.d/*.rc too
# manage_import_extensions.patch (3 kb) : trap missing extensions
   and display a warning (instead of a backtrace). Also add the
   name of the extension providing new commands in "hg --help"
# hgit_is_not_a_script.patch (389b) : no #! first line

   Best,
     Vincent

[1]: http://dept-info.labri.fr/~danjean/deb.html#mercurial


More information about the Mercurial mailing list