~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/add.py

  • Committer: Robert Collins
  • Date: 2005-10-16 22:31:25 UTC
  • mto: This revision was merged to the branch mainline in revision 1458.
  • Revision ID: robertc@lifelesslap.robertcollins.net-20051016223125-26d4401cb94b7b82
Branch.relpath has been moved to WorkingTree.relpath.

WorkingTree no no longer takes an inventory, rather it takes an optional branch
parameter, and if None is given will open the branch at basedir implicitly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
    count = 0
94
94
 
95
95
    for f in file_list:
96
 
        rf = branch.relpath(f)
 
96
        rf = tree.relpath(f)
97
97
        af = branch.abspath(rf)
98
98
 
99
99
        kind = bzrlib.osutils.file_kind(af)