tests/test-log.t
changeset 49477 f3cd2d6eeef9
parent 48876 42d2b31cee0b
child 51144 9ff3d5395d6b
equal deleted inserted replaced
49476:5846bc8a2855 49477:f3cd2d6eeef9
  2155   ... echo d > text
  2155   ... echo d > text
  2156   ... hg --encoding utf-8 commit -u none -m '\u30C2'
  2156   ... hg --encoding utf-8 commit -u none -m '\u30C2'
  2157   ... '''.encode('utf-8')) and None
  2157   ... '''.encode('utf-8')) and None
  2158   $ sh < setup.sh
  2158   $ sh < setup.sh
  2159 
  2159 
       
  2160 #if no-rhg
       
  2161 
  2160 test in problematic encoding
  2162 test in problematic encoding
  2161   >>> with open('test.sh', 'wb') as f:
  2163   >>> with open('test.sh', 'wb') as f:
  2162   ...     f.write(u'''
  2164   ...     f.write(u'''
  2163   ... hg --encoding cp932 log --template '{rev}\\n' -u '\u30A2'
  2165   ... hg --encoding cp932 log --template '{rev}\\n' -u '\u30A2'
  2164   ... echo ====
  2166   ... echo ====
  2176   2
  2178   2
  2177   0
  2179   0
  2178   ====
  2180   ====
  2179   3
  2181   3
  2180   1
  2182   1
       
  2183 
       
  2184 #endif
  2181 
  2185 
  2182   $ cd ..
  2186   $ cd ..
  2183 
  2187 
  2184 test hg log on non-existent files and on directories
  2188 test hg log on non-existent files and on directories
  2185   $ hg init issue1340
  2189   $ hg init issue1340