aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/mapfile.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-08-31 13:43:32 -0400
committerW. Trevor King <wking@drexel.edu>2009-08-31 13:43:32 -0400
commit6d3fc831cdbba47a90b03706f25af1682abe862b (patch)
tree488a20266ba19106940b6eb4d2f7d257f2d67ab6 /libbe/mapfile.py
parent8cfbfcdb25fd2663a23adb4f2f6730240bd0da25 (diff)
downloadbugseverywhere-6d3fc831cdbba47a90b03706f25af1682abe862b.tar.gz
RCS -> VCS, BUGDIR_DISK_VERSION -> v1.2
Diffstat (limited to 'libbe/mapfile.py')
-rw-r--r--libbe/mapfile.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbe/mapfile.py b/libbe/mapfile.py
index 74d2b1a..60def4d 100644
--- a/libbe/mapfile.py
+++ b/libbe/mapfile.py
@@ -97,13 +97,13 @@ def parse(contents):
"""
return yaml.load(contents) or {}
-def map_save(rcs, path, map, allow_no_rcs=False):
+def map_save(vcs, path, map, allow_no_vcs=False):
"""Save the map as a mapfile to the specified path"""
contents = generate(map)
- rcs.set_file_contents(path, contents, allow_no_rcs)
+ vcs.set_file_contents(path, contents, allow_no_vcs)
-def map_load(rcs, path, allow_no_rcs=False):
- contents = rcs.get_file_contents(path, allow_no_rcs=allow_no_rcs)
+def map_load(vcs, path, allow_no_vcs=False):
+ contents = vcs.get_file_contents(path, allow_no_vcs=allow_no_vcs)
return parse(contents)
suite = doctest.DocTestSuite()