/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: Marius Kruger
  • Date: 2010-07-10 18:03:22 UTC
  • mto: (5384.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5385.
  • Revision ID: marius.kruger@enerweb.co.za-20100710180322-hwprdi4jgor9ul16
new_files => all_files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1969
1969
 
1970
1970
        inv_delta = []
1971
1971
 
1972
 
        new_files=set()
 
1972
        all_files = set() # specified and nested files 
1973
1973
        unknown_nested_files=set()
1974
1974
        if to_file is None:
1975
1975
            to_file = sys.stdout
1984
1984
                    # Is it versioned or ignored?
1985
1985
                    if self.path2id(relpath):
1986
1986
                        # Add nested content for deletion.
1987
 
                        new_files.add(relpath)
 
1987
                        all_files.add(relpath)
1988
1988
                    else:
1989
1989
                        # Files which are not versioned
1990
1990
                        # should be treated as unknown.
1995
1995
            abspath = self.abspath(filename)
1996
1996
            filename = self.relpath(abspath)
1997
1997
            if len(filename) > 0:
1998
 
                new_files.add(filename)
 
1998
                all_files.add(filename)
1999
1999
                recurse_directory_to_add_files(filename)
2000
2000
 
2001
 
        files = list(new_files)
 
2001
        files = list(all_files)
2002
2002
 
2003
2003
        if len(files) == 0:
2004
2004
            return # nothing to do