aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/no_rcs.py
diff options
context:
space:
mode:
authorAaron Bentley <aaron.bentley@utoronto.ca>2005-03-19 06:04:41 +0000
committerAaron Bentley <aaron.bentley@utoronto.ca>2005-03-19 06:04:41 +0000
commit92826d47239312d7ed3cbc6638be44c6e84ca8a3 (patch)
tree43f27171822472f5445b7bd1b9bf14b131750c1c /libbe/no_rcs.py
parent148f6d366053422257b1c021cf86fb884c13dff8 (diff)
downloadbugseverywhere-92826d47239312d7ed3cbc6638be44c6e84ca8a3.tar.gz
Added RCS configuration.
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"