Yann E. MORIN committed 89c4f26

b: add a commit-like action

  • Participants
  • Parent commits 96225d2

Comments (0)

Files changed (2)

 add version command to report what version of b we're using  | owner:Michael, open:False, id:4982d102b75bda27e54c16293350ff561c248921, time:1278106694.44
 Ability to run read-only command from a specified revision -R | owner:Michael, open:False, id:6345fce4a284b182a376e1affa02eb774436689f, time:1319037514.92
 Files should be added to mercurial at the end, not the begining of the call | owner:Michael, open:False, id:6ba1ae74c48a6fd84c5d0698fa8169a28e88b343, time:1277680246.97
+Add commit action                                            | owner:, open:True, id:7154f94cba830e0eadb82c7b22ec8d0970704d0a, time:1337638451.68
 hg b help should exist, and point to hg help b               | owner:Michael, open:False, id:7e79f51975af54656f9afdf6958df40c812b5278, time:1319064278.86
 Config / CLI parameter to auto-create details file on add    | owner:Michael, open:True, id:8307524a05a75d607ae6f9922ae55abf26627130, time:1324634082.58
 add a -e flag to add to launch details editor                | owner:Michael, open:False, id:87d6567124da5d70714771733f2ba6aca1f5cfee, time:1324633981.08


+# Lines starting with '#' and sections without content
+# are not displayed by a call to 'details'
+# Paths related to this bug.
+# suggested format: REPO_PATH:LINENUMBERS
+# Additional details
+Add a commit-like action that uses (parts of) the bug's description
+to fill-in the commit message.
+# The expected result
+  # hg b details X
+  Title: BLABLA
+  ID: ..........
+  Owned By: someone@somewhere
+  Filed On: some date
+  [details]
+  The protocol document should be properly formatted as a proper RFC
+  Signed-off-by: someone@somewhere
+  # hg b commit X    (or alias: hg b ci X)
+  (Maybe some text here to indicate success...)
+  # hg log -v -r tip
+  changeset:   X:.......
+  tag:         tip
+  user:        someone@somewhere
+  date:        some date
+  files:       .bugs/.....
+  description:
+  bug: BLABLA
+  The protocol document should be properly formatted as a proper RFC
+  Signed-off-by: someone@somewhere
+# What happened instead
+The user has to re-type (or copy/paste) the bug description in
+the commit message.
+# Reproduction steps
+# Comments and updates - leave your name