diff --git a/development.ini b/development.ini --- a/development.ini +++ b/development.ini @@ -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/. diff --git a/kallithea/bin/template.ini.mako b/kallithea/bin/template.ini.mako --- a/kallithea/bin/template.ini.mako +++ b/kallithea/bin/template.ini.mako @@ -189,7 +189,7 @@ rss_include_diff = false <%text>## options for showing and identifying changesets 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>## url that does rewrites to _admin/gists/. diff --git a/kallithea/config/deployment.ini_tmpl b/kallithea/config/deployment.ini_tmpl --- a/kallithea/config/deployment.ini_tmpl +++ b/kallithea/config/deployment.ini_tmpl @@ -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/. diff --git a/kallithea/lib/helpers.py b/kallithea/lib/helpers.py --- a/kallithea/lib/helpers.py +++ b/kallithea/lib/helpers.py @@ -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: diff --git a/production.ini b/production.ini --- a/production.ini +++ b/production.ini @@ -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/.