21
21
from bzrlib.osutils import pathjoin, basename, abspath, getcwd
23
23
def cbranch(from_location, to_location=None, revision=None, lightweight=False):
25
26
to_location = pathjoin(getcwd(), basename(from_location))
26
27
config = LocationConfig(abspath(to_location))