~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/add.py

  • Committer: Aaron Bentley
  • Date: 2005-10-18 20:19:44 UTC
  • mfrom: (1463) (0.2.1)
  • mto: (1185.25.1)
  • mto: This revision was merged to the branch mainline in revision 1474.
  • Revision ID: abentley@panoramicfeedback.com-20051018201944-42864e79d8e9ad29
Merged more from Robert

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
    Returns the number of files added.
67
67
    """
68
68
    file_list = _prepare_file_list(file_list)
69
 
    b = Branch.open_containing(file_list[0])
 
69
    b = Branch.open_containing(file_list[0])[0]
70
70
    return smart_add_branch(b, file_list, recurse, reporter)
71
71
 
72
72