monotone-commits-diffs
[Top][All Lists]
Advanced

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

[Monotone-commits-diffs] Revision 539d5f656cff92c0e3b3dc0ebb925e9138d2b2


From: monotone
Subject: [Monotone-commits-diffs] Revision 539d5f656cff92c0e3b3dc0ebb925e9138d2b29c
Date: Fri, 14 Mar 2008 21:05:57 +0100

-----------------------------------------------------------------
Revision: 539d5f656cff92c0e3b3dc0ebb925e9138d2b29c
Ancestor: dd99cc77ee77e286294b1d4d60c537b6a4b54296
Author: address@hidden
Date: 2008-03-14T19:47:02
Branch: net.venge.monotone.experiment.db-compaction

Modified files:
        constants.hh crypto_tests.cc restrictions.cc roster.cc
        roster_merge.cc

ChangeLog: 

Fix unit test suite failures after mainline merge.  (Can no longer use
decode_hexenc in global constructors.  It's not clear to me how this
ever worked.)

 * constants.hh (idlen_bytes): New constant.
 * crypto_tests.cc (crypto:calculate_ident): Remove one use of decode_hexenc.
 * restrictions.cc: Put all the unit-test node_ids and file_ids in the
   anonymous namespace.  Set their values using 2-argument string constructors.
 * roster.cc (dump<node_t>): encode_hexenc, not decode_hexenc, to print a
   file_id.
   (unit tests): Similar changes to restrictions.cc.
 * roster_merge.cc (unit tests): Similar changes to restrictions.cc.

Attachment: txtfYRykv6jG9.txt
Description: Diff [dd99cc77ee77e286294b1d4d60c537b6a4b54296] -> [539d5f656cff92c0e3b3dc0ebb925e9138d2b29c]


reply via email to

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