tests/test-command-template.t
changeset 33262 8e6f4939a69a
parent 33048 46fa46608ca5
child 33542 b11e8c67fb0f
equal deleted inserted replaced
33261:be49f3fdcd10 33262:8e6f4939a69a
  4251 
  4251 
  4252 Set up repository for non-ascii encoding tests:
  4252 Set up repository for non-ascii encoding tests:
  4253 
  4253 
  4254   $ hg init nonascii
  4254   $ hg init nonascii
  4255   $ cd nonascii
  4255   $ cd nonascii
  4256   $ python <<EOF
  4256   $ $PYTHON <<EOF
  4257   > open('latin1', 'w').write('\xe9')
  4257   > open('latin1', 'w').write('\xe9')
  4258   > open('utf-8', 'w').write('\xc3\xa9')
  4258   > open('utf-8', 'w').write('\xc3\xa9')
  4259   > EOF
  4259   > EOF
  4260   $ HGENCODING=utf-8 hg branch -q `cat utf-8`
  4260   $ HGENCODING=utf-8 hg branch -q `cat utf-8`
  4261   $ HGENCODING=utf-8 hg ci -qAm "non-ascii branch: `cat utf-8`" utf-8
  4261   $ HGENCODING=utf-8 hg ci -qAm "non-ascii branch: `cat utf-8`" utf-8