File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -759,7 +759,7 @@ def clone(path, remote_branch):
759
759
def get_remote_branch (name ):
760
760
remote_branch = bzrlib .branch .Branch .open (branches [name ],
761
761
possible_transports = transports )
762
- if isinstance (remote_branch .user_transport , bzrlib .transport .local .LocalTransport ):
762
+ if isinstance (remote_branch .bzrdir . root_transport , bzrlib .transport .local .LocalTransport ):
763
763
return remote_branch
764
764
765
765
branch_path = os .path .join (dirname , 'clone' , name )
@@ -842,7 +842,7 @@ def get_repo(url, alias):
842
842
if not wanted :
843
843
try :
844
844
repo = origin .open_repository ()
845
- if not repo .user_transport .listable ():
845
+ if not repo .bzrdir . root_transport .listable ():
846
846
# this repository is not usable for us
847
847
raise bzrlib .errors .NoRepositoryPresent (repo .bzrdir )
848
848
except bzrlib .errors .NoRepositoryPresent :
You can’t perform that action at this time.
0 commit comments