aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/bzr.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/bzr.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/bzr.py')
-rw-r--r--libbe/bzr.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/bzr.py b/libbe/bzr.py
index e4e49d1..c653b2a 100644
--- a/libbe/bzr.py
+++ b/libbe/bzr.py
@@ -35,13 +35,13 @@ def invoke_client(*args, **kwargs):
raise Exception("Command failed: %s" % error)
return output
-def add_id(filename):
+def add_id(filename, paranoid=False):
invoke_client("add", filename)
def delete_id(filename):
invoke_client("remove", filename)
-def mkdir(path):
+def mkdir(path, paranoid=False):
os.mkdir(path)
add_id(path)