Commits

Anonymous committed cb0d920

got rid of @folds. it was never used

Comments (0)

Files changed (1)

lib/amp/repository/mercurial/repo_format/dir_state.rb

         attr_reader :dirs
         
         # The files mapped to their stats (state, mode, size, mtime)
-        # [state, mode, size, mtime]
+        # [#<DirStateEntry >, ...]
         attr_reader :files
         
         # A map of files to be copied, because we want to preserve their history
         # "dest" => "source"
         attr_reader :copy_map
         
-        # I still don't know what this does
-        attr_reader :folds
-        
         # The conglomerate config object of global configs and the repo
         # specific config.
         attr_reader :config
           @files = {} # the files mapped to their statistics
           @copy_map = {} # src => dest
           @ignore = [] # dirs and files to ignore
-          @folds = []
           generate_ignore
         end
         
         # Invalidates the dirstate, making it completely unusable until it is
         # re-read. Should only be used in error situations.
         def invalidate!
-          %w(@files @copy_map @folds @branch @parents @dirs @ignore).each do |ivar|
+          %w(@files @copy_map @branch @parents @dirs @ignore).each do |ivar|
             instance_variable_set(ivar, nil)
           end
           @dirty = false