monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] unhexification of revision hashes


From: Markus Schiltknecht
Subject: [Monotone-devel] unhexification of revision hashes
Date: Mon, 28 Jan 2008 18:36:08 +0100
User-agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080109)

Hi all,

as Graydon has officially left the project now, I thought we'd better change into the next gear to keep the project healthy and alive.

I've just committed a revision 47dc584d4ca8799f686b20ce9bf5c59eb69f6d3c into branch n.v.m.experiment.db-compaction. Todays fixes made it pass all unit and lua tests, and together with the addition to NEWS, I now consider that revisions to be ready for landing on mainline. Please review.

In short, I've changed the database layer to store most, if not all, sha1 hashes in binary, instead of a hexadecimal ASCII compliant notation. This saves a few bytes in your sqlite database and it flattens the way to use binary revision_ids internally as well (which would save us some encode_hexenc() and decode_hexenc() calls).

A schema_migration function is provided, but could use some testing. I don't want to break people's databases.

Please note that - for some silly reason, don't ask me why - I didn't open up two separate branches, thus there's another head revision in that branch.

Regards

Markus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]