/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/dirstate.py

  • Committer: Ian Clatworthy
  • Date: 2007-06-06 06:07:45 UTC
  • mto: This revision was merged to the branch mainline in revision 2513.
  • Revision ID: ian.clatworthy@internode.on.net-20070606060745-xchfmk7d9vckgy3r
remove calls to dirstate._validate() that shouldn't be on production code

Show diffs side-by-side

added added

removed removed

Lines of Context:
1792
1792
        :param ghosts: A list of the revision_ids that are ghosts at the time
1793
1793
            of setting.
1794
1794
        """ 
1795
 
        self._validate()
1796
1795
        # TODO: generate a list of parent indexes to preserve to save 
1797
1796
        # processing specific parent trees. In the common case one tree will
1798
1797
        # be preserved - the left most parent.
1923
1922
        self._header_state = DirState.IN_MEMORY_MODIFIED
1924
1923
        self._dirblock_state = DirState.IN_MEMORY_MODIFIED
1925
1924
        self._id_index = id_index
1926
 
        self._validate()
1927
1925
 
1928
1926
    def _sort_entries(self, entry_list):
1929
1927
        """Given a list of entries, sort them into the right order.