2ccd1d16387d — David M. Carr 11 years ago
bugs: filed "don't add unchanged details files"
2 files changed, 15 insertions(+), 0 deletions(-)

M .bugs/bugs
A => .bugs/details/c91d45eda3bbba622a060b763a4e5afe2f3b2cb9.txt
M .bugs/bugs +1 -0
@@ 17,6 17,7 @@ Add optional commented out fields to def
 Bugs with no details but a details file should act like there is not details file | owner:Michael, open:False, id:9f771c1b687a119eb8e6f9a8443f2c0dde30776b, time:1277680715.42
 edit doesn't handle editors with spaces properly             | owner:Michael, open:False, id:aad16b3f42cade7b71eb1cc92c490f77c7366084, time:1310458238.24
 adding a long issue rewrites entire bugs file to align metadata | owner:Michael, open:False, id:b2f52086a6ca25bc3f9c131e8ded23d474b9a11d, time:1319079486.17
+Don't add unchanged details files                            | owner:, open:True, id:c91d45eda3bbba622a060b763a4e5afe2f3b2cb9, time:1350783561.08
 Calling commands that expect an ID without passing an ID throws an exception | owner:Michael, open:False, id:d33d694650de726f70ff49003835fe6cc61d8d6d, time:1277687733.59
 Optional sort list output chronologically or alphabetically  | owner:Michael, open:False, id:f1eea79125e30a71e7d666c640905fcda86ba0dc, time:1319037412.65
 b Should provide some way to check for empty resolutions     | owner:Michael, open:True, id:f930482615ce618feaff88cca7ec5d998dd6408f, time:1319066183.21

          
A => .bugs/details/c91d45eda3bbba622a060b763a4e5afe2f3b2cb9.txt +14 -0
@@ 0,0 1,14 @@ 
+# Lines starting with '#' and sections without content
+# are not displayed by a call to 'details'
+#
+[details]
+If you run "hg b edit ID" to edit a bug, and then close the editor without
+changing anything, that should result in no change in state in the working
+copy, similar to how an "hg commit" followed by not saving any changes aborts
+the commit.  Otherwise, running "hg b edit" on a couple tickets that don't
+already have details and then changing your mind leaves you with newly added
+template detail files that don't add any value, and require cleaning up if
+you don't want to commit them.
+
+[comments]
+# Comments and updates - leave your name