aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/no_rcs.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/no_rcs.py')
-rw-r--r--libbe/no_rcs.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/libbe/no_rcs.py b/libbe/no_rcs.py
new file mode 100644
index 0000000..a866f79
--- /dev/null
+++ b/libbe/no_rcs.py
@@ -0,0 +1,24 @@
+from popen2 import Popen4
+import os
+import config
+from os import mkdir, unlink
+
+def add_id(filename):
+ """Compatibility function"""
+ pass
+
+def delete_id(filename):
+ """Compatibility function"""
+ pass
+
+def set_file_contents(path, contents):
+ add = not os.path.exists(path)
+ file(path, "wb").write(contents)
+ if add:
+ add_id(path)
+
+def detect(path):
+ """Compatibility function"""
+ return True
+
+name = "None"