unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Changelog: Showing Dates From 1986
@ 2015-04-12 14:54 raman
  2015-04-12 16:07 ` Eli Zaretskii
  2015-04-12 18:16 ` Paul Eggert
  0 siblings, 2 replies; 3+ messages in thread
From: raman @ 2015-04-12 14:54 UTC (permalink / raw)
  To: emacs-devel


After a git pull (has been true since Apr 7 I think)
Changelog  entries are showing with dates from the dim distant  past
e.g.
1986-05-05  Richard M. Stallman  (rms@prep)

	* isearch.el (isearch):
	Fix bug extending a search string in place
	in reverse regexp search.

1986-05-02  Richard M. Stallman  (rms@prep)

	* mh-e.el (mh-get-field): Make regexp accept values starting
	with non-letters.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Changelog: Showing Dates From 1986
  2015-04-12 14:54 Changelog: Showing Dates From 1986 raman
@ 2015-04-12 16:07 ` Eli Zaretskii
  2015-04-12 18:16 ` Paul Eggert
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2015-04-12 16:07 UTC (permalink / raw)
  To: raman; +Cc: emacs-devel

> From: raman <tv.raman.tv@gmail.com>
> Date: Sun, 12 Apr 2015 07:54:28 -0700
> 
> 
> After a git pull (has been true since Apr 7 I think)
> Changelog  entries are showing with dates from the dim distant  past

Yes.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Changelog: Showing Dates From 1986
  2015-04-12 14:54 Changelog: Showing Dates From 1986 raman
  2015-04-12 16:07 ` Eli Zaretskii
@ 2015-04-12 18:16 ` Paul Eggert
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Eggert @ 2015-04-12 18:16 UTC (permalink / raw)
  To: raman, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 501 bytes --]

raman wrote:
> Changelog  entries are showing with dates from the dim distant  past
> e.g.
> 1986-05-05  Richard M. Stallman  (rms@prep)

Sorry, I put the wrong gen_origin value into Makefile.in.  I think this is 
because I tested 'make ChangeLog' and 'make change-history' in a private branch, 
and then applied the corresponding patch to the master without thinking about 
the checksum disparity.  I installed the attached to fix this and to try to make 
similar glitches less likely in the future.

[-- Attachment #2: 0001-Improve-make-change-history-prereq-tests.patch --]
[-- Type: text/x-patch, Size: 2145 bytes --]

From 950c0027cb4018c79d8f429007920ac279431cd4 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Sun, 12 Apr 2015 10:21:59 -0700
Subject: [PATCH] Improve 'make change-history' prereq tests

* Makefile.in (gen_origin): Fix to match what's in the master branch.
(no-ChangeLog, master-branch-is-current): New rules.
(change-history): Depend on them, to avoid similar future problems.
Escape the local-variables string to pacify Emacs when editing
Makefile.in.
---
 Makefile.in | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 9f235d5..0830dda 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1088,7 +1088,7 @@ bootstrap: bootstrap-clean
 	$(MAKE) all
 
 # The newest revision that should not appear in the generated ChangeLog.
-gen_origin = 2cdbb8983dd49ce5c31c74b26f740bcb3e5a4c5d
+gen_origin = 3311ace9c54a50b83a838e2eb7fa9565176e0c4f
 # Convert git commit log to ChangeLog file.  make-dist uses this.
 .PHONY: ChangeLog change-history unchanged-history-files
 ChangeLog:
@@ -1101,16 +1101,20 @@ ChangeLog:
 CHANGELOG_HISTORY_INDEX_MAX = 1
 CHANGELOG_N = ChangeLog.$(CHANGELOG_HISTORY_INDEX_MAX)
 
-# Check that history-relevant files match what's in the repository.
-# Otherwise, 'make change-history' might mess up the ChangeLog history files.
+# Check that we are in a good state for changing history.
+no-ChangeLog:
+	test ! -f ChangeLog
+master-branch-is-current:
+	git branch | grep -q '^\* master$$'
 unchanged-history-files:
 	x=$$(git diff-files --name-only $(CHANGELOG_N) Makefile.in) && \
 	  test -z "$$x"
 
 # Copy newer commit messages to the start of the ChangeLog history file,
 # and consider them to be older.
-change-history: ChangeLog unchanged-history-files
-	(sed '/^;; Local Variables:/,$$d' <ChangeLog && cat $(CHANGELOG_N)) \
+change-history: no-ChangeLog master-branch-is-current unchanged-history-files \
+  ChangeLog
+	(sed '/^;; [L]ocal Variables:/,$$d' <ChangeLog && cat $(CHANGELOG_N)) \
 	  >$(CHANGELOG_N).tmp
 	new_origin=$$(git log --pretty=format:%H HEAD^!) && \
 	sed 's/^\(gen_origin *= *\).*/\1'"$$new_origin/" \
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-12 18:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-12 14:54 Changelog: Showing Dates From 1986 raman
2015-04-12 16:07 ` Eli Zaretskii
2015-04-12 18:16 ` Paul Eggert

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).