versioned file api audit
Robert Collins
robertc at robertcollins.net
Mon Mar 17 06:02:09 GMT 2008
so I just audited the public interface of versioned file. Heres what I
propose we keep/discuss/remove from it.
vf apis to keep:
check_not_reserved_id
versions
add_lines
(with ghosts version/perhaps flag)
add_mpdiff
(nb, add_lines adds one version, add_mpdiffs adds many, we should make
these
consistent)
check (but rename validate?)
get_format_signature
make_mpdiffs (but rename to get_something, or iter_mpdiffs) ?
get_sha1s
get_parent_dict (because this is what bzrlib.graph wants; iter_parents
is
better on incremental work)
annotate_iter (perhaps rename to iter_annotations)
iter_lines_added_or_present_in_versions
weave_merge
apis to discuss:
plan_merge (perhaps keep this)
apis to remove:
has_version
copy_to
access_mode in constructor
finished
iter_parents
join
annotate
get_sha1
has_ghost
add_lines_non_ghost
enable_cache
clear_cache
clone_text
create_empty
get_suffixes
get_text
get_texts
get_lines
get_ancestry
get_ancestry_with_ghosts
get_graph
get_graph_with_ghosts
transaction_finished
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080317/4380e90c/attachment.pgp
More information about the bazaar
mailing list