/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Robert Collins
  • Date: 2010-05-11 11:05:49 UTC
  • mto: This revision was merged to the branch mainline in revision 5224.
  • Revision ID: robertc@robertcollins.net-20100511110549-u2hzal40x29ljuhh
``bzrlib.commands.Command`` will now raise ValueError during
construction if there is no __doc__ set. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1956
1956
        def recurse_directory_to_add_files(directory):
1957
1957
            # Recurse directory and add all files
1958
1958
            # so we can check if they have changed.
1959
 
            for parent_info, file_infos in\
1960
 
                self.walkdirs(directory):
 
1959
            for parent_info, file_infos in self.walkdirs(directory):
1961
1960
                for relpath, basename, kind, lstat, fileid, kind in file_infos:
1962
1961
                    # Is it versioned or ignored?
1963
1962
                    if self.path2id(relpath) or self.is_ignored(relpath):
1998
1997
                            # ... but not ignored
1999
1998
                            has_changed_files = True
2000
1999
                            break
2001
 
                    elif content_change and (kind[1] is not None):
2002
 
                        # Versioned and changed, but not deleted
 
2000
                    elif (content_change and (kind[1] is not None) and
 
2001
                            osutils.is_inside_any(files, path[1])):
 
2002
                        # Versioned and changed, but not deleted, and still
 
2003
                        # in one of the dirs to be deleted.
2003
2004
                        has_changed_files = True
2004
2005
                        break
2005
2006