Patch to 'dt new'

David Wolever wolever at cs.toronto.edu
Thu Jun 19 08:26:57 PDT 2008


Well, as promised, here is a very quick, proof-of-concept, patch  
which will, by default, drop you into $EDITOR when `dt new` is  
called, then only bother you about things like the category, version,  
etc, after you've given the message.
It's also possible to set these variables right in the message  
because "stock" headers are dropped in for you.

I've also changed the text input object so it will accept a default  
value... But that's not actually used yet :)

As far as the default values go, I was thinking of something along  
the lines if prefixing the "default" with an @:
sample-version-set 0.1 0.2/ @0.3 0.4 / 0.5 @0.6
Or configure that on a per-user bases... Some how.

What do you think?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dt_new_editor.diff
Type: application/octet-stream
Size: 5022 bytes
Desc: not available
Url : http://lists.ditrack.org/pipermail/dev/attachments/20080619/98d4a801/attachment.obj 


More information about the Dev mailing list