-----------------------------------------------------------------
Revision: e6bce8abbeedf2addb38f7215c725a17e10326a7
Ancestor: f0eecd8bc9e0a7836267930fdd67fcc074c61081
Author: [email protected]
Date: 2009-01-25T07:11:15
Branch: net.venge.monotone.experiment.changelog-editor

Modified files:
        cmd_key_cert.cc cmd_ws_commit.cc lua_hooks.cc lua_hooks.hh
        simplestring_xform.cc simplestring_xform.hh std_hooks.lua

ChangeLog: 

new changelog editor that includes editable author, date and branch information

* cmd_key_cert.cc (comment): remove commentary parameter from lua edit_comment
  hook

* cmd_ws_commit.cc 
  (revision_header): new function to print revision header lines in log-like
  format
  (revision_summary): move current branch information into above function; clean
  up attr changes a bit
  (get_log_message_interactively): rework to pass the lua hook a log message
  with instructions, revision header, current content of _MTN/log and revision
  summary; verify content coming back from the lua hook still contains all
  relevant things; extract possible changes to values for author, date, branch
  and changelog
  (status): rework to use new revision_header, current contents of _MTN/log and
  revision summary so that output looks much like new revision "input" on
  commit and also similar to revision output from mtn log
  (commit): grab date and author options earlier, and pass them into
  get_log_message_interactively where they may be editied; use
  put_standard_certs directly with current values for author, date, branch and
  log_message

* lua_hooks.{cc,hh} (hook_edit_comment): remove commentary parameter

* simplestring_xform.{cc,hh} (join_lines): replace the vector<string> variant
  with one that operates on iterators; re-implement the linesep variant using
  iterators; add initializers for linesep to use "\n" by default

* std_hooks.lua (edit_comment): remove basetext parameter and associated MTN:
  prefixing that was previously mentioned in get_log_message_interactively;
  include the entire result file in the return value without filtering out MTN:
  lines


monotone --db={your.database} diff 
--revision=f0eecd8bc9e0a7836267930fdd67fcc074c61081 
--revision=e6bce8abbeedf2addb38f7215c725a17e10326a7
----------------------------------------------------------------------


_______________________________________________
Monotone-commits-nodiffs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-commits-nodiffs

Reply via email to