auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] Integrating support for some viewers


From: Uwe Brauer
Subject: Re: [AUCTeX-devel] Integrating support for some viewers
Date: Sun, 10 Apr 2016 15:59:51 +0000
User-agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.1.50 (gnu/linux)

>>> "Ikumi" == Ikumi Keita <address@hidden> 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://address@hidden/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 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]