[Adium-devl] Version control

Richard Laager rlaager at wiktel.com
Mon Oct 8 16:59:30 UTC 2007


My apologies for this being a reply to the wrong part of the thread.
Everyone: Please use "reply to all" in the future to include everyone.

On Oct 7, 2007, at 11:54 PM, David Smith wrote:
> Almost
> no vocabulary commonality between it and svn

I've already mentioned the CVS phrasebook, which should help a lot.

> , most of the commands
> appear to be significantly more complex/less readable (say, mtn --
> db=abe.mtn sync jim-laptop.juicebot.co.jp "jp.co.juicebot.jb7*" vs.
> "svn checkout svn://svn.adiumx.com/adium/trunk")

This isn't really a fair comparison for a number of reasons.

The first time, you have to download a database. This is unfortunately
far *more* painful than SVN, as MTN doesn't support shallow checkouts
(i.e. retrieving just the head as you do in SVN). See the example:
	http://developer.pidgin.im/wiki/UsingPidginMonotone

MTN will save the server and branch pattern in the database. So, after
that initial bootstrapping, which is the typical developer case, you're
really talking about running "mtn pull" * from a working directory
instead of that huge "sync" command.

* or "mtn sync", depending on your preference and how you intend to
handle merges -- a sync is just a push and a pull together

So these comparisons are:
svn commit
vs.
mtn commit ; mtn push

AND

svn update
vs.
mtn pull ; mtn update

> , the output is
> somehow both more verbose but less useful (no, I don't care about the
> number of bytes that came in.

Yes, this is more verbose than you probably need. Passing --quiet should
take care of that. I'm not sure if there's a way to set that by default,
but there probably is.

> I do, however, care about which files
> changed)

This is something that goes with update, not with pull.

> and things that used to be single step operations are often
> now two.

Yes, this is a change. It means a few more commands, that's true. It
also allows for different workflows.

Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20071008/bab2fe12/attachment.sig>


More information about the devel mailing list