[ditrack commit] r1469 - in src/trunk: DITrack tests/cmd-commit/comment.tc tests/i65.tc

Vlad Skvortsov vss at 73rus.com
Mon Mar 19 08:45:56 PST 2007


gli at ditrack.org wrote:
> Author: gli
> Date: 2007-03-13 00:08:32 -0800 (Tue, 13 Mar 2007)
> New Revision: 1469
>
> Modified:
>    src/trunk/DITrack/DB.py
>    src/trunk/tests/cmd-commit/comment.tc/log.expected
>    src/trunk/tests/i65.tc/log.1.expected
> Log:
> fixing i#114. smart commit log. Added comment text to commit log. Also changes in tests to pass with new commit log
>
> Modified: src/trunk/DITrack/DB.py
> ===================================================================
> --- src/trunk/DITrack/DB.py	2007-03-13 07:21:15 UTC (rev 1468)
> +++ src/trunk/DITrack/DB.py	2007-03-13 08:08:32 UTC (rev 1469)
> @@ -475,7 +475,7 @@
>              logmsg.append("moved to %s" % delta_map["Due-in"])
>  
>          if len(text):
> -            logmsg.append("comment added")
> +            logmsg.append("comment added:\n\n\"\"\"\n%s\"\"\"" % text)
>  
>  
>          logmsg_str = reduce (lambda x,y: x+y, [" * %s\n" % k for k in logmsg], "")
>
> Modified: src/trunk/tests/cmd-commit/comment.tc/log.expected
> ===================================================================
> --- src/trunk/tests/cmd-commit/comment.tc/log.expected	2007-03-13 07:21:15 UTC (rev 1468)
> +++ src/trunk/tests/cmd-commit/comment.tc/log.expected	2007-03-13 08:08:32 UTC (rev 1469)
> @@ -1,5 +1,9 @@
>  i#1: title
>   * closed as fixed
> - * comment added
> + * comment added:
>  
> +"""
> +Comment text
> +"""
>   

As discussed in the ICQ, let's get rid of these triple-qoutes here.


-- 
Vlad Skvortsov, vss at 73rus.com, http://vss.73rus.com



More information about the Dev mailing list