#80 Support for Mercurial commands

open
nobody
NetBeans (18)
5
2011-05-07
2011-05-07
3xp0n3nt
No

I would like to be able to execute mercurial commands using :hg commit, :hg push, etc. Mercurial is already integrated into NetBeans so I don't think it would be too hard. Thanks!

This is related to feature request ID 2951159:

tighter command bindings in netbeans
http://sourceforge.net/tracker/index.php?func=detail&aid=2951159&group_id=3653&atid=353653

Discussion

  • Ernie Rael
    Ernie Rael
    2011-05-07

    You can do ":!hg xxx", but of course that doesn't know anything about the directory you want to work on.

    What you are asking for can become pretty complicated; if you have multiple projects open, or even with multiple source trees within a single project, there can be several hg repositiories in use.

    I want to make it simpler, and better documented, about adding colon commands to jVi. Maybee you'd like to consider wokring on hg integration?

    I leave a console hanging around, and use that when I want to do manual hg commands.

     
  • 3xp0n3nt
    3xp0n3nt
    2011-05-07

    Thanks for the quick response. I was thinking more along the lines of simple key bindings for the existing mercurial integration. I can already assign a custom key binding for say, the hg commit command, and it responds just as if I had right clicked on the current project and went to Mercurial > commit. (It brings up a commit pop up window). If typing :hg commit would bring up that same window, it could leave all the nasty details to netbeans.