/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 breezy/tree.py

  • Committer: Jelmer Vernooij
  • Date: 2017-11-12 14:19:13 UTC
  • mto: This revision was merged to the branch mainline in revision 6819.
  • Revision ID: jelmer@jelmer.uk-20171112141913-ppojmnq7k7n3kuv2
Swap arguments for Tree.is_executable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
376
376
        """
377
377
        raise NotImplementedError(self.get_file_size)
378
378
 
379
 
    def is_executable(self, file_id, path=None):
 
379
    def is_executable(self, path, file_id=None):
380
380
        """Check if a file is executable.
381
381
 
 
382
        :param path: The path that this file can be found at.
382
383
        :param file_id: The handle for this file.
383
 
        :param path: The path that this file can be found at.
384
384
            These must point to the same object.
385
385
        """
386
386
        raise NotImplementedError(self.is_executable)