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

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

[Monotone-commits-nodiffs] Revision 4d90a1dce4206ba74dc438fa1d7fc70cad74


From: monotone
Subject: [Monotone-commits-nodiffs] Revision 4d90a1dce4206ba74dc438fa1d7fc70cad74c511
Date: Sat, 13 Mar 2010 19:09:27 +0100

-----------------------------------------------------------------
Revision: 4d90a1dce4206ba74dc438fa1d7fc70cad74c511
Ancestor: 437c4010e49f0df9c6c658ad414180019f0a1845
Author: address@hidden
Date: 03/07/2010 06:52:12 AM
Branch: net.venge.monotone.experiment.changelog-editor

Modified files:
        cmd_diff_log.cc cmd_ws_commit.cc rev_output.cc rev_output.hh

ChangeLog: 

change log command to use new revision_header and revision_summary functions

 * cmd_diff_log.cc (changes_summary): remove obsolete change structure
   (log_certs): remove unused label, separator, multiline and newline
   parameters; add optional date format parameter for logging date certs;
   remove obsolete variants
   (log_date_certs): remove all variants and use log_certs for date certs too

   (log): replace log_date_certs calls with log_certs with a date format
   parameter; use revision_header in place of log_certs and log_date_certs for
   non --brief logs; use revision_summary in place of changes_summary struct

 * cmd_ws_commit.cc (get_log_message_interactively): declare instructions as
   utf8 rather than external, hopefully this is correct; pass user log message
   from _MTN/log into revision_header to be logged as a ChangeLog: line; 
   (status): pass user log message from _MTN/log into revision_header to be
   logged as a ChangeLog: line; remove redundant output of log message

 * rev_output.{cc,hh} (revision_header): add changelog parameter to variant used
   by status and commit; implement this version by constructing appropriate
   bogus certs; add second implementation that takes certs for use by log and
   the previous implementation
   (revision_summary): move newline from leading to trailing position

the new log output produced by this change is nearly identical to the original
output. comparison of logs for all of net.venge.monotone from revision
0a8c2d2d49ce2b718f493091fc1f1987f72338c8 shows the following differences in the
new log output:

 * the initial 65 character '-' string has been lengthened to 70 characters
 * the Ancestor: header has been changed to Parent:
 * a blank line now always preceeds the initial 70 character '-' string
   (previously this was not always the case)

the --brief format with and without the ascii graph is identical to the old
output.

this format is now used by status, commit and log so that revisions are
displayed consistently across all three commands.

C


monotone --db={your.database} diff 
--revision=437c4010e49f0df9c6c658ad414180019f0a1845 
--revision=4d90a1dce4206ba74dc438fa1d7fc70cad74c511
----------------------------------------------------------------------




reply via email to

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