From: Andrew Sayers <andrew-git@pileofstuff.org>
To: Ramkumar Ramachandra <artagnon@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>,
Sam Vilain <sam@vilain.net>, Stephen Bash <bash@genarts.com>,
Nathan Gray <n8gray@n8gray.org>, Jeff King <peff@peff.net>,
Sverre Rabbelier <srabbelier@gmail.com>,
Dmitry Ivankov <divanorama@gmail.com>,
David Barr <davidbarr@google.com>,
Jonathan Nieder <jrnieder@gmail.com>
Subject: Re: SVN Branch Description Format
Date: Sat, 31 Mar 2012 02:27:59 +0100 [thread overview]
Message-ID: <4F765D9F.70404@pileofstuff.org> (raw)
In-Reply-To: <CALkWK0mh5hKz+=-Ur3bE2+YBiSwFiPtZXQOJdMwY=BemXrqwWQ@mail.gmail.com>
On 30/03/12 05:06, Ramkumar Ramachandra wrote:
> Hi,
>
> Andrew Sayers wrote:
>> SVN Branch Description Format v0.1
>
> I found this pretty interesting. Doesn't it duplicate some of the
> functionality of reposurgeon [1] though?
>
> [1]: http://esr.ibiblio.org/?p=4071
Yes, I've been procrastinating all week instead of reading up on
reposurgeon and contacting ESR about possibile collaboration.
I think you need something a bit more expressive than reposurgeon's
format to do SVN<->Git conversion well, and I think you need something a
bit more accessible in order to document SVN edge cases. For example, I
don't see how reposurgeon could represent all the madness around SVN
cherry-picks that become merges when you manually add information from
revision logs, then become cherry-picks again when you find a revert
coming in from another branch. Having said that, a (lossy) conversion
between SBL and reposurgeon format would probably be useful and not that
hard.
The link above put it very well that most people leave an embarrassed
“to be done” comment and disappear when they realise how much of a
nightmare the mapping is. What it doesn't mention is that everyone
experiences a slightly different part of the nightmare, and that we can
only really tackle the problem by getting everyone's freaky edge cases
written up in one language in one place. The test suite[1] isn't that
impressive right now, but in the long-term I'm really keen to get
implementers to pool their knowledge so we can all benefit. SBL is
designed to let people open the relevant test without reading the spec
and say "oh right I understand what a piecemeal merge is now. I'll go
implement that in my project".
I'm currently working on code to read an SVN dump and write to SBL.
This will definitely overlap with reposurgeon's SVN export
functionality, but without seeing the final code I can't say how much.
That's fine though - as I say, the only way to get a good solution is
for multiple implementers to investigate the problem and share the edge
cases they find.
- Andrew
[1]https://github.com/andrew-sayers/SVN-Branching-Language/tree/master/t
prev parent reply other threads:[~2012-03-31 2:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-11 10:59 SVN Branch Description Format Andrew Sayers
2012-03-18 23:18 ` Steven Michalske
2012-03-19 1:28 ` Andrew Sayers
2012-03-19 1:28 ` Licensing a file format (was Re: SVN Branch Description Format) Andrew Sayers
2012-03-19 1:34 ` Jonathan Nieder
2012-03-19 20:31 ` Andrew Sayers
2012-03-20 22:59 ` Jeff King
2012-03-23 0:08 ` SVN Branching Language " Andrew Sayers
2012-03-30 4:06 ` SVN Branch Description Format Ramkumar Ramachandra
2012-03-31 1:27 ` Andrew Sayers [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F765D9F.70404@pileofstuff.org \
--to=andrew-git@pileofstuff.org \
--cc=artagnon@gmail.com \
--cc=bash@genarts.com \
--cc=davidbarr@google.com \
--cc=divanorama@gmail.com \
--cc=git@vger.kernel.org \
--cc=jrnieder@gmail.com \
--cc=n8gray@n8gray.org \
--cc=peff@peff.net \
--cc=sam@vilain.net \
--cc=srabbelier@gmail.com \
/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.
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 NNTP newsgroup(s).