~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-06-27 01:27:02 UTC
  • Revision ID: mbp@sourcefrog.net-20050627012702-61f365c241e110d0
- patch from john to cope with branches with missing x-pull file

Show diffs side-by-side

added added

removed removed

Lines of Context:
476
476
        try:
477
477
            stored_loc = br_to.controlfile("x-pull", "rb").read().rstrip('\n')
478
478
        except IOError, e:
479
 
            if errno == errno.ENOENT:
 
479
            if e.errno != errno.ENOENT:
480
480
                raise
481
481
        if location is None:
482
482
            if stored_loc is None: