~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

[merge] from robert

 - fix handling of symlinks in tree

 - improved executable bits

 - cache pull over http and test for this

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
            self.pb = bzrlib.ui.ui_factory.progress_bar()
104
104
        else:
105
105
            self.pb = pb
 
106
        self.from_branch.lock_read()
106
107
        try:
107
108
            self._fetch_revisions(last_revision)
108
109
        finally:
 
110
            self.from_branch.unlock()
109
111
            self.pb.clear()
110
112
 
111
113
    def _fetch_revisions(self, last_revision):