all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Simplifying the conversion
@ 2014-01-17 21:31 Eric S. Raymond
  2014-01-18  8:16 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Eric S. Raymond @ 2014-01-17 21:31 UTC (permalink / raw
  To: emacs-devel

I can find no evidence that anyone ever dropped either a Bazaar or
CVS revision stamp anywhere in the source tree outside a Changelog.

I put it in that cautious a way because the search strings I have
to use to look for these generate a lot of false positives.  It is
still possible that I have missed a true positive in the clutter.

Does anyone remember putting a revision ID anywhere outside a
ChangeLog or commit comment?

If there are no such instances, my life gets simpler and the 
probability of one of these not getting lifted to a VCS-independent
form goes way down.

It also looks probable that in this repository so far, commit
timestamps are always unique *if* I do a clique-squashing pass
on the oldest part of the history first.  I will check this property.

(Cliques eligible to be squashed are runs of CVS file commits with the
same timestamp and same committer.)

This is my current fossil-references list:

ChangeLog:
	revno 108687
admin/ChangeLog:
	revno:105007
etc/ChangeLog:
	r112148
	revno:108936
	revision 106831
	CVS-1.61
	1.61 in CVS
lib-src/ChangeLog:
	revno:106608
	revno 100789
lisp/ChangeLog:
	rev. 110325
	r115470
	of 2012-12-20 (r111276)
	2013-12-11 (r115470)
	revno:114543
	revno:113793
	revno:113117
	r114834
	revno:113431
	revno:113147
msdos/ChangeLog
	revno 101897
	revno 101876
	revno 100306
nt/ChangeLog:
	revno 108687
src/ChangeLog:
	revision 114614 (commit of 2013-10-10)
	revno:113431
doc/lispref/ChangeLog:
	revno 101949
lisp/ChangeLog.15:
	revno:103013
	rev 102609
	revno 101688
	revno 101459
	revnos 101381 
	101422
	rev 100010
lisp/ChangeLog.16:
	revno:109911
	109621
	revno:88805
	revno:88864
	revno:89810
	revision 106664
	revno:105285
	revno:104787 (2011-06-30)
	revno:104988 (2011-07-06)
	revno:101730 (2010-10-02)
	revno:103877 (2011-04-09)
	revno:99634.2.463 (2010-10-09)
	revno:101913
src/ChangeLog.11:
	revno 95090 dated 2009-03-06
	revno 101757
	revno 82799 (2007-11-30)
	2010-07-29 (revno 100939)
	revno 100928
	revnos 100982..100984
	revno 99854.1.6
	revno 99950
	revno:100708
	revno:110851
	cvs-1.12.1
	Revision 1.694
src/ChangeLog.12:
	revno 108687
	revno:108521
	revno:108341
	2011-08-30 (revision 105619)
	2011-08-30 (revision 105619)
	revision 84777 on 2008-02-22
	revno:102982 (2011-01-26)
	revision 104625
	revision 104134
	revno:20537 (1998-01-01)
	revno:87605 (2008-05-14)
	revno:50135 (2003-03-16)
	revno:87605 (2008-05-14)
	revno:34925 (2000-12-29)
	revno:20537 (1998-01-01)
	revno:25013 (1999-07-21)
	revno:43563.1.17 (2002-03-01)
	revno:84043 (2008-02-1)
	revno:25356 (1999-08-21)
	revno:20870 (1998-02-08)
	revno:36704 (2001-03-09)
	revno:32591 (2000-10-17)
	revno:25013 (1999-07-21)
	revno:43563.1.32 (2002-03-01)
	revno:14998 (1996-04-12)
	revno:86854 (2008-04-19)
	revno:20569 (1998-01-02)
	revno 103623
	revision 1.32
	revision 1.30
lisp/changeLog.13:
	version 1.100 
	1.39
	revision 1.104, made on 2000-05-21
	2007-07-18 (revision 1.51)
	revision 1.90 (commitid mWoPbju3pgNotDps)
lisp/ChangeLog.14:
	revision 1.117
	1.85
lisp/ChangeLog.15:
	1.878
lisp/ChangeLog.9:
	1.113
	1.244
	1.34
src/ChangeLog.10:
	1.233
	rev 1.82
src/Changelog.4:
	1.70 (Jan 5 changes)
doc/emacs/ChangeLog:
	r99212
lisp/cedet/ChangeLog:
	rev. 110325
lisp/org/ChangeLog:
	revno r112320

Change comments:
	bzrs 111300
	111840
	revision 111647
	revno:11026
	revno:88864
	revno:88805
	revno:89810
	revision 10835
	revision 106726
	revision 87208
	revision 84777 on 2008-02-22
	revno:99634.2.463 (2010-10-09)
	revno:101913 (2010-10-12).
	revno:20537 (1998-01-01)
	revno:87605 (2008-05-14)
	revno:87605 (2008-05-14)
	revno:34925 (2000-12-29)
	revno:20537 (1998-01-01)
	revno:25013 (1999-07-21)
	revno:43563.1.16 (2002-03-01)
	revno:84043 (2008-02-1)
	revno:20870 (1998-02-08)
	revno:36704 (2001-03-09)
	revno:32591 (2000-10-17)
	revno:25356 (1999-08-21)
	revno:14998 (1996-04-12)
	revno:86854 (2008-04-19)
	revno:20569 (1998-01-02)
	r100577
	CVS rev 1.49, 2001-09-12
	CVS rev 1.47, 2003/01/27
	CVS r1.35
	revno 95090 dated 2009-03-06
	2005-02-15 (revno 60055)
	r111320
	revno 99854.1.6
\	revno 99950
	revision 99649
	rev 99649
	rev 99553
	revno 99212
	revision 94343
	r1.135
	rev 1.114
	1.878
	revision 1.117
	rev 1.14395
	revision 1.56
	3.85
	1.17
	revision 1.69
	revision 1.1
	rev 1.5
	revisions 1.40
	1.41
	1.39
	revision 1.104
	revision 1.51
	revision 1.90
	revision 1.1509
	revision 7.8
	CVS v1.12.8 and 1.12.9
	cvs-1.12.1
	1.103
	HEAD (1.72)
	v1.275
	1.58
	v1.5046
	v1.5039
	rev 1.82
	rev. 1.761
	revision 1.3831
	1.3832
	revision 1.12
	revision 1.13
	revision 1.14
	revision 1.15

My next step will be to process this into a map from fossil references
to action stamps.

As I noted prevuiusly, it may turn out that all the action stamps in
the map have unique timestamps (that is, do not need to be
disambiguated by committer ID).  If so, I may just use the RFC3339
form of the commit date, lightly decorated, as a reference.

To be concrete, the difference would be between these two styles of
replacement:

revno:116031 -> 2014-01-15T08:22:41Z!juri@jurta.org
revno:116031 -> {2014-01-15T08:22:41Z}
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

The spirit of resistance to government is so valuable on certain occasions, 
that I wish it always to be kept alive.  It will often be exercised when 
wrong, but better so than not to be exercised at all. I like a little 
rebellion now and then.	-- Thomas Jefferson, letter to Abigail Adams, 1787



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

* Re: Simplifying the conversion
  2014-01-17 21:31 Simplifying the conversion Eric S. Raymond
@ 2014-01-18  8:16 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2014-01-18  8:16 UTC (permalink / raw
  To: Eric S. Raymond; +Cc: emacs-devel

> From: esr@thyrsus.com (Eric S. Raymond)
> Date: Fri, 17 Jan 2014 16:31:39 -0500 (EST)
> 
> I can find no evidence that anyone ever dropped either a Bazaar or
> CVS revision stamp anywhere in the source tree outside a Changelog.
> 
> I put it in that cautious a way because the search strings I have
> to use to look for these generate a lot of false positives.  It is
> still possible that I have missed a true positive in the clutter.

What patterns did you use to look for revisions, exactly?  Here are a
few references I found:

 lisp/cedet/semantic/bovine/grammar.el:146:    ;; backquote (introduced in rev. 102591 in emacs-bzr).
 lisp/url/url-handlers.el:97:(defvar url-handler-regexp) ; defined below to avoid recursive load (revno:108572)
 lisp/progmodes/python.el:3295:  ;; Inspired by imenu--flatten-index-alist removed in revno 21853.
 lisp/vc/vc-svn.el:26:;; Sync'd with Subversion's vc-svn.el as of revision 5801.

The last one sounds like an svn version from some other repository.

> Does anyone remember putting a revision ID anywhere outside a
> ChangeLog or commit comment?

They should be very rare, but see above.

> Change comments:
> 	bzrs 111300
> 	111840
> 	revision 111647
> 	revno:11026
> 	revno:88864
> 	revno:88805
> 	revno:89810
> 	revision 10835
> 	revision 106726
> 	revision 87208
> 	revision 84777 on 2008-02-22
> 	revno:99634.2.463 (2010-10-09)
> 	revno:101913 (2010-10-12).
> 	revno:20537 (1998-01-01)
> 	revno:87605 (2008-05-14)
> 	revno:87605 (2008-05-14)
> 	revno:34925 (2000-12-29)
> 	revno:20537 (1998-01-01)
> 	revno:25013 (1999-07-21)
> 	revno:43563.1.16 (2002-03-01)
> 	revno:84043 (2008-02-1)
> 	revno:20870 (1998-02-08)
> 	revno:36704 (2001-03-09)
> 	revno:32591 (2000-10-17)
> 	revno:25356 (1999-08-21)
> 	revno:14998 (1996-04-12)
> 	revno:86854 (2008-04-19)
> 	revno:20569 (1998-01-02)
> 	r100577
> 	CVS rev 1.49, 2001-09-12
> 	CVS rev 1.47, 2003/01/27
> 	CVS r1.35
> 	revno 95090 dated 2009-03-06
> 	2005-02-15 (revno 60055)
> 	r111320
> 	revno 99854.1.6
> \	revno 99950
> 	revision 99649
> 	rev 99649
> 	rev 99553
> 	revno 99212
> 	revision 94343
> 	r1.135
> 	rev 1.114
> 	1.878
> 	revision 1.117
> 	rev 1.14395
> 	revision 1.56
> 	3.85
> 	1.17
> 	revision 1.69
> 	revision 1.1
> 	rev 1.5
> 	revisions 1.40
> 	1.41
> 	1.39
> 	revision 1.104
> 	revision 1.51
> 	revision 1.90
> 	revision 1.1509
> 	revision 7.8
> 	CVS v1.12.8 and 1.12.9
> 	cvs-1.12.1
> 	1.103
> 	HEAD (1.72)
> 	v1.275
> 	1.58
> 	v1.5046
> 	v1.5039
> 	rev 1.82
> 	rev. 1.761
> 	revision 1.3831
> 	1.3832
> 	revision 1.12
> 	revision 1.13
> 	revision 1.14
> 	revision 1.15

This looks too short; I get 149 commit messages that specify bzr
revision numbers, and 25 more which look like CVS revision numbers.
Please show the command(s) you used to find these, it's possible you
are missing some options.  I can show you the command I used, if it
will help.

> As I noted prevuiusly, it may turn out that all the action stamps in
> the map have unique timestamps (that is, do not need to be
> disambiguated by committer ID).  If so, I may just use the RFC3339
> form of the commit date, lightly decorated, as a reference.

Why not use the committer ID regardless?  It's easy to get that from
bzr (it's part of the revision ID), and will allow you to avoid the
step of determining whether the time stamps are unique.



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

end of thread, other threads:[~2014-01-18  8:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-17 21:31 Simplifying the conversion Eric S. Raymond
2014-01-18  8:16 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.