~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Martin Pool
  • Date: 2005-04-28 09:57:52 UTC
  • Revision ID: mbp@sourcefrog.net-20050428095752-5ad693a18021fb54
doc

Show diffs side-by-side

added added

removed removed

Lines of Context:
768
768
 
769
769
 
770
770
    def rename_one(self, from_rel, to_rel):
 
771
        """Rename one file.
 
772
 
 
773
        This can change the directory or the filename or both.
 
774
         """
771
775
        tree = self.working_tree()
772
776
        inv = tree.inventory
773
777
        if not tree.has_filename(from_rel):