Menu

Commit [r4996]  Maximize  Restore  History

scm: mercurial: update test repository for path encoding (#2664).

Mercurial (and also Git) treats file names as byte string.
This mercurial test repository contains Latin-1 encoding path.
Be careful on non Latin-1(CP1252) Windows.

If your Windows is not Latin-1 Windows,
in order to checkout(update) Latin-1 path,
You need to use cygwin 1.7 and set LANG=en_US.ISO-8859-1.

Please refer.
http://mercurial.selenic.com/wiki/EncodingStrategy?action=recall&rev=6

Redmine mercurial adapter do not need to checkout(update) repository.
Mercurial does not have "bare" repository such as Git.
You can use "hg update null" for equivalent "bare" repository.

tmaruyama 2011-03-04

changed /trunk/test/fixtures/repositories/mercurial_repository.hg
changed /trunk/test/functional/repositories_mercurial_controller_test.rb
changed /trunk/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
changed /trunk/test/unit/repository_mercurial_test.rb
/trunk/test/functional/repositories_mercurial_controller_test.rb Diff Switch to side-by-side view
Loading...
/trunk/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb Diff Switch to side-by-side view
Loading...
/trunk/test/unit/repository_mercurial_test.rb Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.