~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/repository.py

  • Committer: John Arbash Meinel
  • Date: 2010-05-11 14:14:55 UTC
  • mfrom: (5223.1.1 global_chk_attrs)
  • mto: This revision was merged to the branch mainline in revision 5225.
  • Revision ID: john@arbash-meinel.com-20100511141455-5xq2dqfei11m5lms
Bring in the global chk change, which includes some more bzr.dev code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
392
392
        if token == '':
393
393
            token = None
394
394
        try:
395
 
            token = repository.lock_write(token=token)
 
395
            token = repository.lock_write(token=token).repository_token
396
396
        except errors.LockContention, e:
397
397
            return FailedSmartServerResponse(('LockContention',))
398
398
        except errors.UnlockableTransport: