# HG changeset patch # User Marcin Kuzminski # Date 2012-03-28 20:53:51 # Node ID 28d9893d6a237e1cd3c540ca76f5c7a44cf7f316 # Parent 0239953fa7110901a558d8fdc675a8c5f311bfb5 add dev version only for beta diff --git a/rhodecode/__init__.py b/rhodecode/__init__.py --- a/rhodecode/__init__.py +++ b/rhodecode/__init__.py @@ -31,7 +31,7 @@ VERSION = (1, 3, 5, 'b') try: from rhodecode.lib import get_current_revision _rev = get_current_revision() - if _rev: + if _rev and len(VERSION) > 3: VERSION += ('dev%s' % _rev[0],) except ImportError: pass