Changeset - dc3f0731b2f7
[Not reviewed]
default
0 5 0
domruf - 11 years ago 2014-08-28 22:09:27
dominikruf@gmail.com
config: the default for show_revision_number should be false

Revision numbers are not really that useful and when shared publicly they can
lead to misunderstandings
5 files changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
development.ini
Show inline comments
 
@@ -192,7 +192,7 @@ rss_include_diff = false
 

	
 
## options for showing and identifying changesets
 
show_sha_length = 12
 
show_revision_number = true
 
show_revision_number = false
 

	
 
## gist URL alias, used to create nicer urls for gist. This should be an
 
## url that does rewrites to _admin/gists/<gistid>.
kallithea/bin/template.ini.mako
Show inline comments
 
@@ -189,7 +189,7 @@ rss_include_diff = false
 

	
 
<%text>## options for showing and identifying changesets</%text>
 
show_sha_length = 12
 
show_revision_number = true
 
show_revision_number = false
 

	
 
<%text>## gist URL alias, used to create nicer urls for gist. This should be an</%text>
 
<%text>## url that does rewrites to _admin/gists/<gistid>.</%text>
kallithea/config/deployment.ini_tmpl
Show inline comments
 
@@ -186,7 +186,7 @@ rss_include_diff = false
 

	
 
## options for showing and identifying changesets
 
show_sha_length = 12
 
show_revision_number = true
 
show_revision_number = false
 

	
 
## gist URL alias, used to create nicer urls for gist. This should be an
 
## url that does rewrites to _admin/gists/<gistid>.
kallithea/lib/helpers.py
Show inline comments
 
@@ -458,7 +458,7 @@ def show_id(cs):
 
    """
 
    from kallithea import CONFIG
 
    def_len = safe_int(CONFIG.get('show_sha_length', 12))
 
    show_rev = str2bool(CONFIG.get('show_revision_number', True))
 
    show_rev = str2bool(CONFIG.get('show_revision_number', False))
 

	
 
    raw_id = cs.raw_id[:def_len]
 
    if show_rev:
production.ini
Show inline comments
 
@@ -190,7 +190,7 @@ rss_include_diff = false
 

	
 
## options for showing and identifying changesets
 
show_sha_length = 12
 
show_revision_number = true
 
show_revision_number = false
 

	
 
## gist URL alias, used to create nicer urls for gist. This should be an
 
## url that does rewrites to _admin/gists/<gistid>.
0 comments (0 inline, 0 general)