Re: Git out of sync vs. CVS

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Git out of sync vs. CVS
Date: 2010-01-17 19:50:23
Message-ID: 9837222c1001171150p4a2affabs1794332983b41064@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2010/1/17 Peter Eisentraut <peter_e(at)gmx(dot)net>:
> Maybe I'm hallucinating and someone could check this in their
> environment, but it appears to me that the Git repository is missing
> parts of two non-recent commits.  See attached patch.

Not having looked at the repo in detail, but I bet this happened
because the git mirror grabbed it's snapshot in the middle of a cvs
commit with multiple files. Since cvs doesn't have atomic commits, I
think that kind of thing can happen. Does that seem possible wrt these
commits specifically?

I don't really know how to fix that. It's kind of hard to do
transaction safe replication from a system without transactions ;)

As for fixing it, I guess we can try the
rewind-to-commit-before-this-and-rerun. That'll break people who have
branched after, but last time it seemed that most peoples git clients
would clean that up automatically. Which commits are these exactly?

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2010-01-17 20:19:08 parallel regression test output
Previous Message Peter Eisentraut 2010-01-17 19:27:23 Re: Patch: Remove gcc dependency in definition of inline functions