This is the mail archive of the
mailing list for the GCC project.
Re: Acceptance criteria for the git conversion
- From: Jason Merrill <jason at redhat dot com>
- To: Trevor Saunders <tbsaunde at tbsaunde dot org>, Andreas Schwab <schwab at suse dot de>
- Cc: "Eric S. Raymond" <esr at thyrsus dot com>, David Malcolm <dmalcolm at redhat dot com>, gcc at gcc dot gnu dot org
- Date: Thu, 3 Sep 2015 11:51:44 -0400
- Subject: Re: Acceptance criteria for the git conversion
- Authentication-results: sourceware.org; auth=none
- Newsgroups: gmane.comp.gcc.devel
- References: <20150901105414 dot GA30270 at thyrsus dot com> <1441114107 dot 9002 dot 42 dot camel at surprise> <20150901154343 dot GB1223 at thyrsus dot com> <mvmfv2yunsm dot fsf at hawking dot suse dot de> <20150903065949 dot GB4616 at tsaunders-iceball dot corp dot tor1 dot mozilla dot com>
On 09/03/2015 02:59 AM, Trevor Saunders wrote:
On Tue, Sep 01, 2015 at 06:06:33PM +0200, Andreas Schwab wrote:
"Eric S. Raymond" <email@example.com> writes:
There is no way to maintain those links for git, so yes, you want to
keep a read-only Subversion instance around.
The mapping can also be put in some git notes tree for use by bugzilla.
That would only need to be set up once.
I'd think that would be the way you'd want to associate git commits with
a svn commit, but I think bugzilla wants to do the reverse map svn
commits to git ones (or we could just rewrite the link targets) but
either way that needs a mapping in the other direction. Obviously
having a mapping in one direction makes getting the reverse pretty
It's pretty trivial to map from SVN rev numbers to git with either
git-svn or reposurgeon --legacy commit decorations.
git log --grep '^git-svn-id:.*@1234 ' --all -1
git log --grep '^Legacy-ID: 1234$' --all -1