Subject: Re: [RFD] Proposal for git-svn: storing SVN metadata (git-svn-id) in notes

From: Jakub Narebski <[email-masked]>
Date: Sat, 28 May 2011 18:37:54 +0200

On Sat, 28 May 2011, Ævar Arnfjörð Bjarmason wrote:
> 2011/5/28 Jakub Narebski <[email-masked]>:

> > Now that git supports annotating comments with `git notes` utility,
> > could we have an option to git-svn which would make it store SVN
> > metadata, i.e. git-svn-id: lines using git-notes (separate svnmetadata
> > or git-svn notes ref)?
> 
> One good thing about git-svn's current system is that you can easily
> share your repository with someone else, and they can bootstrap from
> the same commits.

How it works with svn-dcommit rewriting commits?
 
> Has the sharing of git-notes been improved to the point where that
> could be done similarly transparently?
 
First, the idea was to do it optionally.  In addition to existing and
discouraged `svn.noMetadata` / `--no-metadata` git-svn would acquire
`svn.metadata` / `--metadata` / `--svn-metadata` = none | notes | commits
that would as one option put 'git-svn-id:' lines or their equivalent
to git notes.

Second, from what I understand from the very beginning git-notes 
was designed in such way that sharing notes is sharing ref.
git-replace shares this feature.

But please take above with a grain of salt, having never used notes
before, and not being developer of this subsystem.
-- 
Jakub Narebski
Poland