diff rhodecode/lib/vcs/nodes.py @ 3797:d7488551578e beta

synced vcs with upstream - moved subprocessio module to VCS - many small changes to make embedded vcs as similar to to external lib - use only absolute imports - patch vcs config during load pylons env
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 27 Apr 2013 11:24:25 +0200
parents 58a4004224a2
children 14a6e9ffd9c8
line wrap: on
line diff
--- a/rhodecode/lib/vcs/nodes.py	Sat Apr 27 11:45:27 2013 +0200
+++ b/rhodecode/lib/vcs/nodes.py	Sat Apr 27 11:24:25 2013 +0200
@@ -15,11 +15,10 @@
 
 from pygments import lexers
 
+from rhodecode.lib.vcs.backends.base import EmptyChangeset
+from rhodecode.lib.vcs.exceptions import NodeError, RemovedFileNodeError
 from rhodecode.lib.vcs.utils.lazy import LazyProperty
 from rhodecode.lib.vcs.utils import safe_unicode
-from rhodecode.lib.vcs.exceptions import NodeError
-from rhodecode.lib.vcs.exceptions import RemovedFileNodeError
-from rhodecode.lib.vcs.backends.base import EmptyChangeset
 
 
 class NodeKind:
@@ -353,7 +352,6 @@
 
     @LazyProperty
     def mimetype_main(self):
-        return ['', '']
         return self.mimetype.split('/')[0]
 
     @LazyProperty