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):
759759def get_remote_branch (name ):
760760 remote_branch = bzrlib .branch .Branch .open (branches [name ],
761761 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 ):
763763 return remote_branch
764764
765765 branch_path = os .path .join (dirname , 'clone' , name )
@@ -842,7 +842,7 @@ def get_repo(url, alias):
842842 if not wanted :
843843 try :
844844 repo = origin .open_repository ()
845- if not repo .user_transport .listable ():
845+ if not repo .bzrdir . root_transport .listable ():
846846 # this repository is not usable for us
847847 raise bzrlib .errors .NoRepositoryPresent (repo .bzrdir )
848848 except bzrlib .errors .NoRepositoryPresent :
You can’t perform that action at this time.
0 commit comments