~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/index.py

  • Committer: John Arbash Meinel
  • Date: 2008-10-28 17:40:04 UTC
  • mto: (3789.2.24 pack_retry_153786)
  • mto: This revision was merged to the branch mainline in revision 3804.
  • Revision ID: john@arbash-meinel.com-20081028174004-ygf3v01q2iivzrbl
Review comments from Martin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1268
1268
        if self._reload_func is None:
1269
1269
            raise
1270
1270
        exc_type, exc_value, exc_traceback = sys.exc_info()
 
1271
        trace.mutter('Trying to reload after getting exception: %s',
 
1272
                     exc_value)
1271
1273
        if not self._reload_func():
1272
1274
            # We tried to reload, but nothing changed, so we fail anyway
 
1275
            trace.mutter('_reload_func indicated nothing has changed.'
 
1276
                         ' Raising original exception.')
1273
1277
            raise exc_type, exc_value, exc_traceback
1274
1278
 
1275
1279
    def validate(self):