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

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

[Monotone-commits-diffs] Revision e6bce8abbeedf2addb38f7215c725a17e10326


From: monotone
Subject: [Monotone-commits-diffs] Revision e6bce8abbeedf2addb38f7215c725a17e10326a7
Date: Sun, 25 Jan 2009 08:14:46 +0100

-----------------------------------------------------------------
Revision: e6bce8abbeedf2addb38f7215c725a17e10326a7
Ancestor: f0eecd8bc9e0a7836267930fdd67fcc074c61081
Author: address@hidden
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

Attachment: txtmwCfcSHJwI.txt
Description: Diff [f0eecd8bc9e0a7836267930fdd67fcc074c61081] -> [e6bce8abbeedf2addb38f7215c725a17e10326a7]


reply via email to

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