unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-devel@gnu.org
Subject: Re: vc-next-action RCS vs hg: copies the entry of ChangeLog
Date: Mon, 19 Oct 2015 13:45:35 +0300	[thread overview]
Message-ID: <87h9ln87cg.fsf@mat.ucm.es> (raw)
In-Reply-To: 5624B5DD.9000500@yandex.ru

>>> "Dmitry" == Dmitry Gutov <dgutov@yandex.ru> writes:

   > On 10/19/2015 12:15 PM, Uwe Brauer wrote:
   >> Ok, but git log
   >> prints the commit msg and the relevant ChangeLog entry
   >> (of that directory I presume.)
   >> 
   >> Hg log seems not to have that feature.

   > hg log -v.


No, this does not display the content of the ChangeLog!!!

Let me try to resume.

HG
    -  Edit a file and enter a comment "CHLcomment" into the ChangeLog

    -  From the command line: hg commit -m "test msg"

    -  From the command line: hg log -v

*Only* the comment "test msg" is displayed

GIT

    -  Edit a file and enter a comment "CHLcomment" into the ChangeLog

    -  From the command line: git commit -am "test msg"

    -  From the command line: git log 

*Only* the comment "test msg" is displayed!!

Now I use Emacs.

GIT

    -  Edit a file and enter a comment "CHLcommentEmacs" into the ChangeLog

    -  vc-next-action:  "test msgEmacs"

    -  vc-print-log: both comments are shown  "CHLcommentEmacs" and  "test       msgEmacs"

    - from the command line git log shows also *BOTH*

HG
    -  Edit a file and enter a comment "CHLcommentEmacs" into the ChangeLog

    -  vc-next-action:  "test msgEmacs"

    -  vc-print-log: only    "test msgEmacs" is displayed

    -       from the command line hg log only shows  "test msgEmacs"

So it seems the culprit is Emacs, when it commits using git is also
inserts part of the ChangeLog, otherwise I don't understand the
different behavior of

 git log

From the command line.




  reply	other threads:[~2015-10-19 10:45 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-15  6:48 vc-next-action RCS vs hg: copies the entry of ChangeLog Uwe Brauer
2015-10-15 10:54 ` Dmitry Gutov
2015-10-18  7:02   ` Uwe Brauer
2015-10-18  7:58     ` Dmitry Gutov
2015-10-18  8:25       ` Uwe Brauer
2015-10-18  9:50         ` Dmitry Gutov
2015-10-18 10:22           ` Uwe Brauer
2015-10-18 13:06           ` Uwe Brauer
2015-10-18 20:04             ` Dmitry Gutov
2015-10-19  6:43               ` Uwe Brauer
2015-10-19  6:55               ` Uwe Brauer
2015-10-19  7:07                 ` Eli Zaretskii
2015-10-19  7:18                   ` Uwe Brauer
2015-10-19  8:14                   ` Uwe Brauer
2015-10-19  8:30                     ` Eli Zaretskii
2015-10-19  8:38                       ` Uwe Brauer
2015-10-19  8:52                         ` Dmitry Gutov
2015-10-19  9:13                           ` Dmitry Gutov
2015-10-19  9:04                         ` Eli Zaretskii
2015-10-19  9:15                           ` Uwe Brauer
2015-10-19  9:20                             ` Dmitry Gutov
2015-10-19 10:45                               ` Uwe Brauer [this message]
2015-10-19 10:51                                 ` Dmitry Gutov
2015-10-19 10:57                                   ` Uwe Brauer
2015-10-19 11:02                                     ` Dmitry Gutov
2015-10-19 13:20                                       ` Uwe Brauer
2015-10-19 23:46                                         ` Dmitry Gutov
2015-10-20  6:05                                           ` Uwe Brauer
2015-10-20  8:34                                             ` Dmitry Gutov
2015-10-26 16:35                                               ` [Solved] (was: vc-next-action RCS vs hg: copies the entry of ChangeLog) Uwe Brauer
2015-10-27 13:15                                                 ` [Solved] Dmitry Gutov
2015-10-27 14:23                                                   ` [Solved] Uwe Brauer
2015-10-27 15:15                                                     ` [Solved] Dmitry Gutov
2015-10-27 14:30                                                   ` [Solved] Uwe Brauer
2015-10-27 14:49                                                   ` [prop: change] (was: [Solved]) Uwe Brauer
2015-10-27 15:16                                                     ` [prop: change] Dmitry Gutov
2015-10-27 15:56                                                       ` Uwe Brauer
2015-10-27 17:18                                                       ` Uwe Brauer
     [not found]                                                         ` <562FB38A.7060007@yandex.ru>
     [not found]                                                           ` <87eggf1lmy.fsf@mat.ucm.es>
     [not found]                                                             ` <5630ABD8.1000408@yandex.ru>
     [not found]                                                               ` <87twpbfaiv.fsf@mat.ucm.es>
2015-10-28 12:38                                                                 ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h9ln87cg.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).