[squeak-dev] Subversion (was: Re: Perl is to CPAN as Squeak is to (what)?)

Avi Bryant avi at dabbledb.com
Mon Jun 30 18:31:00 UTC 2008


On Mon, Jun 30, 2008 at 11:18 AM, Avi Bryant <avi at dabbledb.com> wrote:

> Well, I don't know how much coding it would be, but from a *very*
> cursory look I would say what you need to do is model the index file
> format in Smalltalk, and reproduce the update-index and checkout-index
> commands.  Once you had that, you could reuse all the normal
> merge/commit/etc commands from git, because those all operate on the
> index and on the repository database.

Here's (I think) the equivalent Java code to what you'd need...

http://repo.or.cz/w/egit.git?a=blob;f=org.spearce.jgit/src/org/spearce/jgit/lib/GitIndex.java;h=5be404e63041471d64a45e268d0ee04a7378d3c6;hb=HEAD



More information about the Squeak-dev mailing list