~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/add.py

  • Committer: Robert Collins
  • Date: 2005-10-17 11:56:54 UTC
  • mfrom: (1185.16.59)
  • Revision ID: robertc@robertcollins.net-20051017115654-662239e1587524a8
mergeĀ fromĀ martin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
from bzrlib.osutils import quotefn
25
25
 
26
26
def glob_expand_for_win32(file_list):
27
 
    if not file_list:
28
 
        return
29
27
    import glob
30
28
    expanded_file_list = []
31
29
    for possible_glob in file_list:
68
66
    Returns the number of files added.
69
67
    """
70
68
    file_list = _prepare_file_list(file_list)
71
 
    b = Branch.open_containing(file_list[0])[0]
 
69
    b = Branch.open_containing(file_list[0])
72
70
    return smart_add_branch(b, file_list, recurse, reporter)
73
71
 
74
72