/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Parth Malwankar
  • Date: 2010-05-05 04:08:11 UTC
  • mfrom: (5205 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5216.
  • Revision ID: parth.malwankar@gmail.com-20100505040811-2th2a48s7wak2p9d
merged in changes from trunk and resolved conflict in builtins.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
1306
1306
        return self._real_repository.make_working_trees()
1307
1307
 
1308
1308
    def refresh_data(self):
1309
 
        """Re-read any data needed to to synchronise with disk.
 
1309
        """Re-read any data needed to synchronise with disk.
1310
1310
 
1311
1311
        This method is intended to be called after another repository instance
1312
1312
        (such as one used by a smart server) has inserted data into the
1313
 
        repository. It may not be called during a write group, but may be
1314
 
        called at any other time.
 
1313
        repository. On all repositories this will work outside of write groups.
 
1314
        Some repository formats (pack and newer for bzrlib native formats)
 
1315
        support refresh_data inside write groups. If called inside a write
 
1316
        group on a repository that does not support refreshing in a write group
 
1317
        IsInWriteGroupError will be raised.
1315
1318
        """
1316
 
        if self.is_in_write_group():
1317
 
            raise errors.InternalBzrError(
1318
 
                "May not refresh_data while in a write group.")
1319
1319
        if self._real_repository is not None:
1320
1320
            self._real_repository.refresh_data()
1321
1321