unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* The git mirror is *very* badly screwed up
@ 2014-01-24 16:29 Eric S. Raymond
  2014-01-24 16:42 ` Andreas Schwab
  0 siblings, 1 reply; 42+ messages in thread
From: Eric S. Raymond @ 2014-01-24 16:29 UTC (permalink / raw)
  To: emacs-devel

While investigating the git mirror with reposurgeon. I spent most of
the last two days chasing some odd behavior in reposurgeon that I
thought was a bug.  But it turns out not to be a bug at all; rather,
there's a kind of malformation in the mirror I've never seen
before.

Look at this span of commits:

reposurgeon% 867? inspect
Event 865 ===============================================================
commit refs/tags/v0.3.0
mark :860
author Chris Wanstrath <chris@ozmm.org> 1268028778 -0800
committer Chris Wanstrath <chris@ozmm.org> 1268028778 -0800
data 13
Just in case
from :858
M 100644 :859 coffee-mode.el

Event 867 ===============================================================
commit refs/tags/v0.3.0
mark :862
author Chris Wanstrath <chris@ozmm.org> 1268028809 -0800
committer Chris Wanstrath <chris@ozmm.org> 1268028809 -0800
data 6
0.3.0
from :860
M 100644 :861 coffee-mode.el

Event 869 ===============================================================
commit refs/tags/sml-mode-6.0
mark :864
author Sergei Lebedev <superbobry@gmail.com> 1269545595 -0700
committer Chris Wanstrath <chris@ozmm.org> 1269545595 -0700
data 60
Fix hanging of `coffee-previous-indent` at start of buffer.
from :862
M 100644 :863 coffee-mode.el

Event 874 ===============================================================
commit refs/tags/sml-mode-6.0
mark :869
author tav <tav@espians.com> 1269545212 +0800
committer Chris Wanstrath <chris@ozmm.org> 1269545212 +0800
data 64
Change so that the compiled buffer doesn't open in a new frame.
from :862
M 100644 :868 coffee-mode.el

This looks pretty normal - until you notice that events 869 and 874,
which should be sequential commits, are both parented by event 867.
This is badly wrong; either 874 should be parented on 869 (almost
certainly correct) or 869 and 874 should have different branch fields.

I had wondered why the parent links in the early part of a gitk
listing of the Emacs history looked so spaghettilike.  Now I think
many of them are wrong, and this also explains the persistent problems
reposurgeon has been exhibiting with junk lightweight tags that can't
be deleted.  (The bad links defeat reposurgeon's algorithm for
reassigning branch fields.)

I'm investigating possible remedies.  Because this kind of
malformation is easy to spot once you know what to look for, 
it may be possible for me to write an automated fixer in 
reposurgeon.

Andreas, how exactly are you doing the mirroring from Bazaar?  Is
there any chance parent links are being scrambled at that point?

The other possibility is that parsecvs botched the CVS lift really badly.
That wouldn't be good news for me either, because if so cvs-fast-export
probably inherited the bug. 
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

He that would make his own liberty secure must guard even his enemy from
oppression: for if he violates this duty, he establishes a precedent that
will reach unto himself.	-- Thomas Paine



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

end of thread, other threads:[~2014-01-28 15:40 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-24 16:29 The git mirror is *very* badly screwed up Eric S. Raymond
2014-01-24 16:42 ` Andreas Schwab
2014-01-24 17:07   ` Eric S. Raymond
2014-01-24 17:22     ` Andreas Schwab
2014-01-24 18:54       ` Eric S. Raymond
2014-01-24 20:03         ` Eric S. Raymond
2014-01-24 21:06         ` Andreas Schwab
2014-01-24 21:27         ` Eli Zaretskii
2014-01-25  6:25           ` Eric S. Raymond
2014-01-25  7:44             ` Eli Zaretskii
2014-01-25 14:06               ` Goals for repo conversion day Eric S. Raymond
2014-01-25 14:42                 ` Eli Zaretskii
2014-01-25 14:46                   ` Eli Zaretskii
2014-01-25 16:01                   ` Eric S. Raymond
2014-01-25 16:15                     ` Paul Eggert
2014-01-25 17:15                     ` Eli Zaretskii
2014-01-25 21:01                       ` Eric S. Raymond
2014-01-26 17:32                         ` Eli Zaretskii
2014-01-27  0:33                           ` Eric S. Raymond
2014-01-27  5:16                             ` Werner LEMBERG
2014-01-27 16:31                               ` Eli Zaretskii
2014-01-27 17:42                                 ` Werner LEMBERG
2014-01-27 17:54                                   ` Eli Zaretskii
2014-01-27 10:04                             ` Andreas Schwab
2014-01-27 13:22                               ` Eric S. Raymond
2014-01-28  8:14                                 ` Ulrich Mueller
2014-01-28  8:58                                   ` Andreas Schwab
2014-01-28  9:07                                     ` David Kastrup
2014-01-28 15:40                                     ` What to do about the attic files Eric S. Raymond
2014-01-27 16:25                             ` Goals for repo conversion day Eli Zaretskii
2014-01-27 16:28                             ` Bzr's "confusion" between branches and repositories Eli Zaretskii
2014-01-27 16:47                               ` Andreas Schwab
2014-01-27 16:53                                 ` Eli Zaretskii
2014-01-27 17:15                                   ` Eli Zaretskii
2014-01-25 19:32                   ` Goals for repo conversion day Glenn Morris
2014-01-25 16:09                 ` Andreas Schwab
2014-01-25 17:01                 ` Thien-Thi Nguyen
2014-01-25 19:54                   ` Eric S. Raymond
2014-01-25 22:08                     ` Thien-Thi Nguyen
2014-01-26  3:24                       ` Eric S. Raymond
2014-01-25 21:57             ` The git mirror is *very* badly screwed up Stefan Monnier
2014-01-25 23:27               ` Eric S. Raymond

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