unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: Bazaar references complicate the git transition
Date: Sat, 11 Jan 2014 17:24:35 +0100	[thread overview]
Message-ID: <877ga6h4fw.fsf@fencepost.gnu.org> (raw)
In-Reply-To: 20140111155429.1A12C3803A6@snark.thyrsus.com

esr@thyrsus.com (Eric S. Raymond) writes:

> This is particularly a heads-up for RMS and Andreas.
>
> I missed something on my first pass through the git mirror that I
> shouldn't have.  Some commit comments have Bazaar local revision
> numbers in them referring to other commits.  (It is possible
> others have full hashes in them; I haven't looked closely enough at
> everything yet to be sure.)
>
> Left uncorrected, this would be bad.  Those revision numbers 
> will become meaningless after the git transition. Information about
> which commits refer to which others would be lost.  This would be 
> particularly unfortunate with respect to reversion and correction
> commits.
>
> The good news: in reposurgeon, I have a good tool for quickly finding
> and moving these to VCS-independent forms.  It's a VCS history editor
> which does just about everything you could imagine such a tool
> doing. It can take in RCS, CVS, Subversion, hg, bzr, and git
> repositories; it can emit all of those except CVS (Subversion output
> is alpha-stage).
>
> The bad news: when reposurgeon edits a commit comment, all hashes of
> its descendants are (necessarily) altered.  This means, in practice, 
> that the reqired modifications cannot be done in situ on the 
> Savannah repo.

Would it be an option to leave the original commits unchanged but add a
"note" to it containing the git commit id?

On the other hand, rewriting the history is a one-time cost.  It will,
for a while, double the repository size for preexisting git repo users
(until the dangling references get garbage collected three or four
months later).  And it will be a nuisance for any local branches.

-- 
David Kastrup




  parent reply	other threads:[~2014-01-11 16:24 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-11 15:54 Bazaar references complicate the git transition Eric S. Raymond
2014-01-11 16:15 ` Juanma Barranquero
2014-01-11 16:29   ` Eric S. Raymond
2014-01-11 16:53     ` Juanma Barranquero
2014-01-11 16:24 ` David Kastrup [this message]
2014-01-11 16:40   ` Eric S. Raymond
2014-01-11 17:23     ` Juanma Barranquero
2014-01-11 22:47     ` Timur Aydin
2014-01-11 23:40       ` Eric S. Raymond
2014-01-11 16:36 ` Eli Zaretskii
2014-01-11 16:43   ` Eric S. Raymond
2014-01-11 17:10 ` David Reitter
2014-01-11 17:27   ` Eric S. Raymond
2014-01-11 17:46     ` David Kastrup
2014-01-11 18:00       ` Andreas Schwab
2014-01-11 18:04     ` Eli Zaretskii
2014-01-11 18:08       ` Eli Zaretskii
2014-01-11 18:24         ` Óscar Fuentes
2014-01-11 19:15           ` Thien-Thi Nguyen
2014-01-11 19:46             ` Eli Zaretskii
2014-01-11 19:36           ` Paul Eggert
2014-01-11 20:53             ` Eric S. Raymond
2014-01-11 20:13         ` David Reitter
2014-01-11 20:36           ` David Kastrup
2014-01-11 21:26           ` Eric S. Raymond
2014-01-11 22:22             ` David Reitter
2014-01-11 23:03             ` Converting bzr revision-IDs to action stamps (was: Bazaar references complicate the git transition) Joshua Judson Rosen
2014-01-11 23:45               ` Eric S. Raymond
2014-01-12  5:39                 ` Joshua Judson Rosen
2014-01-12 12:43                   ` Eric S. Raymond
2014-01-11 18:39 ` Bazaar references complicate the git transition Richard Stallman
2014-01-12  3:14   ` Stefan Monnier
2014-01-12  3:55     ` Eric S. Raymond
2014-01-12 22:25       ` Stefan Monnier
2014-01-12 23:02         ` Eric S. Raymond
2014-01-13  2:28         ` Glenn Morris
2014-01-13  3:42           ` Stefan Monnier
2014-01-12 13:44     ` Richard Stallman

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=877ga6h4fw.fsf@fencepost.gnu.org \
    --to=dak@gnu.org \
    --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).