diff options
author | Aaron Bentley <abentley@panoramicfeedback.com> | 2005-05-09 13:39:16 +0000 |
---|---|---|
committer | Aaron Bentley <abentley@panoramicfeedback.com> | 2005-05-09 13:39:16 +0000 |
commit | cb9d4c77d8bd3d72cd61acdf940417fbfea1b3fc (patch) | |
tree | 66d1b36efdad25c508a53e8244b88df1e443dab7 /libbe/bugdir.py | |
parent | 0c493b603acc58042c89e475354af25e4f82efed (diff) | |
parent | f92ced7d577142b16ef86ed6aff6bb6b5f526e2d (diff) | |
download | bugseverywhere-cb9d4c77d8bd3d72cd61acdf940417fbfea1b3fc.tar.gz |
Merge (Aaron Bentley)
Patches applied:
* aaron.bentley@utoronto.ca--lappy/be--devel--0--base-0
* tag of aaron.bentley@utoronto.ca--be/bugs-everywhere--devel--0--patch-90
* aaron.bentley@utoronto.ca--lappy/be--devel--0--patch-1
* Support for bzr inventory operations
* aaron.bentley@utoronto.ca--lappy/be--devel--0--patch-2
* Added pseudo-revlib functionality for bzr
Diffstat (limited to 'libbe/bugdir.py')
-rw-r--r-- | libbe/bugdir.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libbe/bugdir.py b/libbe/bugdir.py index ab39a18..61f5e30 100644 --- a/libbe/bugdir.py +++ b/libbe/bugdir.py @@ -82,7 +82,7 @@ class BugDir: except NoSuchFile: self.settings = {"rcs_name": "None"} - rcs_name = setting_property("rcs_name", ("None", "Arch")) + rcs_name = setting_property("rcs_name", ("None", "bzr", "Arch")) _rcs = None target = setting_property("target") @@ -312,10 +312,11 @@ def pyname_to_header(name): def map_save(rcs, path, map): """Save the map as a mapfile to the specified path""" - if not os.path.exists(path): - rcs.add_id(path) + add = not os.path.exists(path) output = file(path, "wb") mapfile.generate(output, map) + if add: + rcs.add_id(path) class NoSuchFile(Exception): def __init__(self, pathname): |