Understood, but the point was to not create a message file.
However, seeing "fossil commit -M fossilcommit.txt" retains '#' lines, I
will just adopt this approach with a script. I actually like this method
more after trying it out. :)

Thanks for the feedback and fossil!


On Thu, Oct 17, 2013 at 12:06 PM, Andy Bradford <amb-fos...@bradfords.org>wrote:

> Thus said Stephan Beal on Thu, 17 Oct 2013 16:49:53 +0200:
>
> > As far  as the  other changes go  regarding the #  symbol -  i'm still
> > waiting for someone  else to volunteer :). As a  general rule, i don't
> > like to change features which have  survived the test of time (even if
> > they're  not  100%  ideal,  so  long as  their  limitations  are  well
> > understood and not generally problematic).
>
> I don't think changes are required:
>
> $ f ci -M - file <<EOF
> > This is a test
> > #this
> > EOF
> New_Version: a037b79c0b552ac0a2c60b6530f19ae5f4022155
> $ f stat
> repository:   /tmp/new/../new.fossil
> local-root:   /tmp/new/
> config-db:    /home/amb/.fossil
> checkout:     a037b79c0b552ac0a2c60b6530f19ae5f4022155 2013-10-17 16:04:45
> UTC
> parent:       950f43a6f0812dfb7b2a9b894b8bccb1aa056585 2013-10-17 16:04:20
> UTC
> tags:         trunk
> comment:      This is a test #this (user: amb)
>
> Notice that it preserved my comment.
>
> Fossil FTW!
>
> Andy
> --
> TAI64 timestamp: 4000000052600b14
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to