# HG changeset patch # User Marcin Kuzminski # Date 2013-03-25 13:08:15 # Node ID 6750e8b5d234eed9659f34c7df21c1d9a1561018 # Parent d56310b64bb3bf9edcebd04d43ee53c3ea03c59e rename sha_rev to something more understandable diff --git a/development.ini b/development.ini --- a/development.ini +++ b/development.ini @@ -109,7 +109,7 @@ rss_include_diff = false ## show hash options for changelog sha_len = 12 -sha_rev = true +sha_show_numeric_rev = true ## alternative_gravatar_url allows you to use your own avatar server application diff --git a/production.ini b/production.ini --- a/production.ini +++ b/production.ini @@ -109,7 +109,7 @@ rss_include_diff = false ## show hash options for changelog sha_len = 12 -sha_rev = true +sha_show_numeric_rev = true ## alternative_gravatar_url allows you to use your own avatar server application diff --git a/rhodecode/config/deployment.ini_tmpl b/rhodecode/config/deployment.ini_tmpl --- a/rhodecode/config/deployment.ini_tmpl +++ b/rhodecode/config/deployment.ini_tmpl @@ -109,7 +109,7 @@ rss_include_diff = false ## show hash options for changelog sha_len = 12 -sha_rev = true +sha_show_numeric_rev = true ## alternative_gravatar_url allows you to use your own avatar server application diff --git a/rhodecode/lib/helpers.py b/rhodecode/lib/helpers.py --- a/rhodecode/lib/helpers.py +++ b/rhodecode/lib/helpers.py @@ -380,7 +380,7 @@ def show_id(cs): """ from rhodecode import CONFIG def_len = safe_int(CONFIG.get('sha_len', 12)) - show_rev = str2bool(CONFIG.get('sha_rev', True)) + show_rev = str2bool(CONFIG.get('sha_show_numeric_rev', True)) raw_id = cs.raw_id[:def_len] if show_rev: diff --git a/test.ini b/test.ini --- a/test.ini +++ b/test.ini @@ -109,7 +109,7 @@ rss_include_diff = false ## show hash options for changelog sha_len = 12 -sha_rev = true +sha_show_numeric_rev = true ## alternative_gravatar_url allows you to use your own avatar server application