~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-06-13 17:02:41 UTC
  • mfrom: (1769.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060613170241-91efacfc55c6b9d2
(robertc, jelmer)Merge the new ControlFormat core logic to support .hg, .svn etc formats. (Robert Collins, Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
552
552
            if not path:
553
553
                path = self._inventory.id2path(file_id)
554
554
            mode = os.lstat(self.abspath(path)).st_mode
555
 
            return bool(stat.S_ISREG(mode) and stat.S_IEXEC&mode)
 
555
            return bool(stat.S_ISREG(mode) and stat.S_IEXEC & mode)
556
556
 
557
557
    @needs_write_lock
558
558
    def add(self, files, ids=None):