git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Jakub Narebski <jnareb@gmail.com>
Date
May 28, 2011, 16:37 UTC
Message-ID
<201105281837.56655.jnareb@gmail.com>
In-Reply-To
<BANLkTinorqTQOBw46mYJYfEWTEXC+Myzpw@mail.gmail.com>
On Sat, 28 May 2011, Ævar Arnfjörð Bjarmason wrote:
> 2011/5/28 Jakub Narebski <jnareb@gmail.com>:
Show 8 quoted lines
> > 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
Previous: Ævar Arnfjörð BjarmasonNext: Dave Zarzycki
Message 4 of 8 in “[RFD] Proposal for git-svn: storing SVN metadata (git-svn-id) in notes”
  1. Jakub NarebskiMay 28, 2011
  2. Arnaud LacurieMay 28, 2011
  3. Ævar Arnfjörð BjarmasonMay 28, 2011
  4. Jakub NarebskiMay 28, 2011
  5. Dave ZarzyckiMay 29, 2011
  6. Eric WongMay 31, 2011
  7. Jakub NarebskiMay 31, 2011
  8. Michael HaggertyMay 31, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.