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

Re: reposurgeon now writes Subversion repositories

From
DSDaniel Shahaf <danielsh@elego.de>
Date
Nov 29, 2012, 13:42 UTC
Message-ID
<20121129134203.GJ3424@lp-shahaf.local>
In-Reply-To
<20121129114637.GB9264@thyrsus.com>
(note, other half of the thread is on dev@svn only..)
Eric S. Raymond wrote on Thu, Nov 29, 2012 at 06:46:37 -0500:
Show 8 quoted lines
> Daniel Shahaf <danielsh@elego.de>:
> > You might also seek community consensus to reserve an svn:foo name for
> > the "original author" property --- perhaps svn:original-author --- so
> > that reposurgeon and other git->svn tools can interoperate in the way
> > they transfer the "original author" information.
> 
> OK.  But I like the idea of letting the users set their own author
> content string better.  Instead of another layer of kluges, why

I don't see the kludge here --- git has a "author" != "committer" distinction, svn doesn't, so if you want to grow that distinction the most natural way is a new property. Storing additional information in svn:author is a separate issue.

Show 18 quoted lines
> > >   Subversion has a concept of "flows"; that is, named segments of
> > >   history corresponding to files or directories that are created when
> > >   the path is added, cloned when the path is copied, and deleted when
> > >   the path is deleted. This information is not preserved in import
> > >   streams or the internal representation that reposurgeon uses.  Thus,
> > >   after editing, the flow boundaries of a Subversion history may be
> > >   arbitrarily changed.
> > > 
> > > This is me being obsessive about documenting the details.  I think it
> > > is doubtful that most Subversion users even know flows exist.
> > 
> > I think you're saying that adds might turn into copies, and vice-versa.
> > That is something users would notice --- it is certainly exposed in the
> > UI --- even though node-id's are not exposed to clients.
> 
> I'm saying nobody thinks of flows when they do branch copies.  It's
> not just that users don't see node IDs, it's that no part of most users'
> mental model of how Subversion works resembles them.

I'm still not sure what you have in mind. I note that 'svn log' and 'svn blame' cross both file copies and branch creation --- that's one effect of "'svn cp foo bar; svn ci' causes bar to be related to foo".

> -- 
> 		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
Previous: Eric S. RaymondNext: Eric S. Raymond
Message 5 of 7 in “reposurgeon now writes Subversion repositories”
  1. Eric S. RaymondNov 29, 2012
  2. Daniel ShahafNov 29, 2012
  3. Branko ČibejNov 29, 2012
  4. Eric S. RaymondNov 29, 2012
  5. Daniel ShahafNov 29, 2012
  6. Eric S. RaymondNov 29, 2012
  7. AW: reposurgeon now writes Subversion repositoriesMarkus Schaber, Nov 29, 2012

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.