~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/add.py

  • Committer: Jelmer Vernooij
  • Date: 2005-10-19 09:34:39 UTC
  • mfrom: (1185.16.78)
  • mto: (1185.16.102)
  • mto: This revision was merged to the branch mainline in revision 1488.
  • Revision ID: jelmer@samba.org-20051019093439-e1d8e3508d1ba46b
MergeĀ fromĀ Martin

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