tests/test-fastannotate-diffopts.t
author Anton Shestakov <av6@dwimlabs.net>
Wed, 25 Jan 2023 19:25:42 +0400
branchstable
changeset 49643 42baf12efd21
parent 39238 1ddb296e0dee
permissions -rw-r--r--
tests: pygments 2.14+ highlight whitespace in python code

  $ cat >> $HGRCPATH << EOF
  > [extensions]
  > fastannotate=
  > EOF

  $ hg init repo
  $ cd repo

changes to whitespaces

  $ cat >> a << EOF
  > 1
  > 
  >  
  >  2
  > EOF
  $ hg commit -qAm '1'
  $ cat > a << EOF
  >  1
  > 
  > 2
  > 
  > 
  > 3
  > EOF
  $ hg commit -m 2
  $ hg fastannotate -wB a
  0:  1
  0: 
  1: 2
  0: 
  1: 
  1: 3