changeset 3588:6750e8b5d234 beta

rename sha_rev to something more understandable
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 25 Mar 2013 14:08:15 +0100
parents d56310b64bb3
children 35454cd8233b
files development.ini production.ini rhodecode/config/deployment.ini_tmpl rhodecode/lib/helpers.py test.ini
diffstat 5 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/development.ini	Mon Mar 25 15:52:55 2013 +0900
+++ b/development.ini	Mon Mar 25 14:08:15 2013 +0100
@@ -109,7 +109,7 @@
 
 ## 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
--- a/production.ini	Mon Mar 25 15:52:55 2013 +0900
+++ b/production.ini	Mon Mar 25 14:08:15 2013 +0100
@@ -109,7 +109,7 @@
 
 ## 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
--- a/rhodecode/config/deployment.ini_tmpl	Mon Mar 25 15:52:55 2013 +0900
+++ b/rhodecode/config/deployment.ini_tmpl	Mon Mar 25 14:08:15 2013 +0100
@@ -109,7 +109,7 @@
 
 ## 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
--- a/rhodecode/lib/helpers.py	Mon Mar 25 15:52:55 2013 +0900
+++ b/rhodecode/lib/helpers.py	Mon Mar 25 14:08:15 2013 +0100
@@ -380,7 +380,7 @@
     """
     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:
--- a/test.ini	Mon Mar 25 15:52:55 2013 +0900
+++ b/test.ini	Mon Mar 25 14:08:15 2013 +0100
@@ -109,7 +109,7 @@
 
 ## 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