1
from bzrlib.transport import get_transport
2
from bzrtools import iter_branches
4
def branches(location=None):
7
t = get_transport(location)
9
print "Can't list this type of location."
11
for branch in iter_branches(t):
12
print branch.base[len(t.base):].rstrip('/')