[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mercurial
Subject:    Re: [ANN] yasvn2hg 0.2
From:       "Sebastien Lucas" <sebastien.lucas () gmail ! com>
Date:       2007-05-16 6:41:33
Message-ID: cb83740f0705152341g5d1a825blb334d3b3974b08a1 () mail ! gmail ! com
[Download RAW message or body]

On 5/16/07, Daniel Holth <dholth@fastmail.fm> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Joel Rosdahl wrote:
> >> I'm currently trying to use svn lib instead of the command line (I
> >> have one big repo with more than 8000 changeset), I'll let you know
> >> how it ends.
> >
> > Sounds nice, but maybe it would be better to work on Daniel Holth's
> > changes to convert-repo instead? I would do that if I had any
> > Subversion repository left to convert. :-)
> Ditto. I would do that too if I had a SVN repository left to convert...
>
> See http://dingoskidneys.com/cgi-bin/hgwebdir.cgi
>
> Please feel free to copy my GPL'd SVN code, as I learned it by copying
> from bzr-svn, tailor, and trac. The Subversion API is initially
> daunting, but once you get the hang of it it's not that bad. The
> biggest challenge is converting between SVN's view of the universe
> (versioned directories) and Mercurial's (versioned files only). For
> extra credit, abstract this out into a nice API that knows how to talk
> to both /usr/bin/svn and the SVN api.

Yes I used your code.

> Or, if you would rather spend your time working on something that can
> already convert at least 10 revisions per second, already uses both
> the Subversion and the Mercurial APIs, already preserves copy-from
> information for silky smooth merges across renames, can point at
> branches, and is generally awesome, you should just adapt
> convert-repo. It should need only *tiny* changes to be able to cope
> with some of the stranger SVN cases (probably a try/catch around the
> part that errors out would do the trick, where you could potentially
> lose some of the copy-from information).

Strangely convert_repo is much more commented than yasvn2hg but I
still find yasvn2hg easier to understand. Anyway I'll try to provide
some patch for convert_repo if I managed to fix some code.

But I'll still miss the merge file ...... it'll need to be ported.

Sebastien.
_______________________________________________
Mercurial mailing list
Mercurial@selenic.com
http://selenic.com/mailman/listinfo/mercurial
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic