aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage/vcs/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/storage/vcs/git.py')
-rw-r--r--libbe/storage/vcs/git.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/libbe/storage/vcs/git.py b/libbe/storage/vcs/git.py
index 02144b5..0b006f3 100644
--- a/libbe/storage/vcs/git.py
+++ b/libbe/storage/vcs/git.py
@@ -22,7 +22,9 @@ Git backend.
"""
import os
+import os.path
import re
+import shutil
import sys
import unittest
@@ -39,7 +41,10 @@ def new():
class Git(base.VCS):
name='git'
client='git'
- versioned=True
+
+ def __init__(self, *args, **kwargs):
+ base.VCS.__init__(self, *args, **kwargs)
+ self.versioned = True
def _vcs_version(self):
status,output,error = self._u_invoke_client('--version')