1. mikespook
  2. RhodeCode

Commits

Marcin Kuzminski  committed edbf8c9

don't use vcs _rev if rhodecode codes are not under version controll

  • Participants
  • Parent commits 6a2c0cf
  • Branches beta

Comments (0)

Files changed (1)

File rhodecode/__init__.py

View file
 try:
     from rhodecode.lib import get_current_revision
     _rev = get_current_revision()
-    VERSION += ('dev%s' % _rev[0],)
+    if _rev:
+        VERSION += ('dev%s' % _rev[0],)
 except ImportError:
     pass