[darcs-devel] [issue1339] DARCS_DO_COLOR_LINES=True darcs rollback --edit injects ^

Trent Buck bugs at darcs.net
Mon Feb 2 01:25:46 UTC 2009


New submission from Trent Buck <trentbuck at gmail.com>:

As you can see from this transcript, ^[[00m nonsense is injected into
the rollback text.  Colouring should be suppressed in the default long
description when using rollback --edit.

    $ darcs init
    $ touch x
    $ darcs rec -lam x x
    Recording changes in "x":

    Finished recording patch 'x'
    $ DARCS_DO_COLOR_LINES=True VISUAL=true darcs rollback -a --edit
    Finished rolling back.
    $ darcs cha --last=1
    Mon Feb  2 12:25:29 EST 2009  Trent W. Buck <trentbuck at gmail.com>
      *

      rolling back:

      Mon Feb  2 12:24:57 EST 2009  Trent W. Buck <trentbuck at gmail.com>^[[00m
        * x^[[00m
      ^[[00m
          A ./x
    $

----------
messages: 7258
nosy: dmitry.kurochkin, kowey, simon, thorkilnaur, twb
status: unread
title: DARCS_DO_COLOR_LINES=True darcs rollback --edit injects ^

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1339>
__________________________________


More information about the darcs-devel mailing list