>>> "Ikumi" == Ikumi Keita <ik...@ikumi.que.jp> writes:


   >>> Actually, I'm
   >>> using mercurial with hg-git plugin, so my patch may lack the detail the
   >>> real git would append.

   >> Ok, fine.  According to http://mo.morsi.org/blog/node/300 `hg email
   >> --git' is the Mercurial equivalent of `git format-patch'.

   > Thank you for your kind instruction.  Unfortunately, trying `hg email
   > --git' resulted in sending a mail with the body of

There is another strategy you could use. Push more or directly to the
git directory. I am partially maintaining matlab-mode which is now under
git in sourceforge, but I prefer HG much over git.

So I have set up two HG repos:

  matlab-emacs-bridge (from which I push to the git repo in sf)
  matlab-emacs-hg (the one I work in).

It seems very important to set the bookmark master and push that
bookmark.

So I have the following setting

 matlab-emacs-bridge/.hg/hgrc

[paths]
default = git+ssh://o...@git.code.sf.net/p/matlab-emacs/src

[paths]
default = 
/home/oub/ALLES/emacs/site-lisp/packages/src/Hg-Git/matlab-emacs-bridge

Now I edit some files and add the relevant ChangeLog entries. Then I run

 vc-dir

Select the edited files, run vc-next-action
now the relevant ChangeLog entries will taken as commit message.

Now I push

hg push -B master ; hg -R ../matlab-emacs-bridge push -r master

When I want to pull I do 

hg -R ../matlab-emacs-bridge pull; hg pull -u

Hope this helps

Uwe Brauer 

_______________________________________________
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to