aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/no_rcs.py
diff options
context:
space:
mode:
authorAaron Bentley <abentley@panoramicfeedback.com>2005-05-19 16:40:33 +0000
committerAaron Bentley <abentley@panoramicfeedback.com>2005-05-19 16:40:33 +0000
commita2c9b6f19c4e8669fa328757211b68fcd0243cf7 (patch)
treeae2344c3ff6675d91f36e7c8ff56a6fe7e425641 /libbe/no_rcs.py
parent8a9a710c4044f3f27ca8d7f05482155a4bf254c3 (diff)
downloadbugseverywhere-a2c9b6f19c4e8669fa328757211b68fcd0243cf7.tar.gz
Distinguished between 'paranoid' and non-paranoid add-id
The paranoid adds are only used for the .be root. Paranoia is a big time-suck on Arch trees, because they require a full inventory.
Diffstat (limited to 'libbe/no_rcs.py')
-rw-r--r--libbe/no_rcs.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/libbe/no_rcs.py b/libbe/no_rcs.py
index 9e4c47b..1c02725 100644
--- a/libbe/no_rcs.py
+++ b/libbe/no_rcs.py
@@ -17,9 +17,9 @@
from popen2 import Popen4
import os
import config
-from os import mkdir, unlink
+from os import unlink
-def add_id(filename):
+def add_id(filename, paranoid=False):
"""Compatibility function"""
pass
@@ -27,6 +27,9 @@ def delete_id(filename):
"""Compatibility function"""
pass
+def mkdir(path, paranoid=False):
+ os.mkdir(path)
+
def set_file_contents(path, contents):
add = not os.path.exists(path)
file(path, "wb").write(contents)