[darcs-users] blue color bug

Tommy Pettersson ptp at lysator.liu.se
Sun Jul 4 12:15:40 UTC 2004


I have some more information on the bug.  It is only the first
line with non-ASCII chars in a hunk containing the first line
of a file that get non-ASCII chars escaped.

Let's pretend Q is non-ASCII and have code 0xe5:

And a file:

  new line QQQ
  new line QQQ
  old line XXX
  new line QQQ

where `new line's are not yet recorded.

darcs whatsnew will then print:

  {
  hunk ./f 1
  +new line \e5\e5\e5
  +new line QQQ
  hunk ./f 4
  +new line QQQ
  }

Also darcs record will look like:

  hunk ./f 1
  new line \e5\e5\e5
  new line QQQ
  Shall I record this patch? (1/2) [ynWsfqdjk?] y
  hunk ./f 4
  new line QQQ
  Shall I record this patch? (2/2) [ynWsfqdjk?] y
  What is the patch name? Qs

However darcs annotate will print:

  [Qs
  f**20040704120541] {
  hunk ./f 1
  +new line QQQ
  +new line QQQ
  hunk ./f 4
  +new line QQQ
  }


-- 
Tommy Pettersson <ptp at lysator.liu.se>




More information about the darcs-users mailing list