Copyright (c) 2009 Nexedi KK and Contributors