scm: mercurial: fix loss non ASCII paths if path_encoding is '' (#2664).
scm: code clean up projects/settings/_repository.rhtml.
scm: set disable a button if scm is not selected in project scm setting.
scm: git: refactor saving a revision in model.
Merged r5621 from trunk.
Fix a typo in Czech localization.
Merged r5620 from trunk.
Simplified Chinese translation updated by Sam Qiu.
Fix a typo in Czech localization (#8285, #7390).
Simplified Chinese translation updated by Sam Qiu (#8286).
scm: code clean up app/views/projects/settings/_repository.rhtml.
scm: code clean up RepositoriesHelper.