1
from bzrlib import errors
2
from bzrlib.bzrdir import BzrDir
3
from bzrlib.transport import get_transport
4
from bzrtools import list_branches
7
def branches(location=None):
10
t = get_transport(location)
11
for branch in list_branches(t):
12
print branch.base[len(t.base):].rstrip('/')