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.
49
47
# A path to a directory was passed in
50
48
# definitely not a bundle
51
49
raise errors.NotABundle('A directory cannot be a bundle')
52
52
mergeable, transport = read_mergeable_from_transport(transport, filename,