35
35
return read_mergeable_from_url(url, _do_directive=False)
39
39
"""Read mergable object from a given URL.
41
41
:return: An object supporting get_target_revision. Raises NotABundle if
42
42
the target is not a mergeable type.
47
49
# A path to a directory was passed in
48
50
# definitely not a bundle
49
51
raise errors.NotABundle('A directory cannot be a bundle')
52
52
mergeable, transport = read_mergeable_from_transport(transport, filename,