seydar  committed 0d504cf

there is no DirState#normal_lookup, only DirState#normal

  • Participants
  • Parent commits 8536c18

Comments (0)

Files changed (1)

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

               UI.warn "#{file} already tracked!"
             elsif state.removed?
               # check back on it if it's being removed
-              normal_lookup file
+              normal file
               # else add it
               add_path file, true
             # repo, then play it safe and bring back the dead. Divine intervention
             # on the side of the local repo.
-            # info here is a standard array of info
-            # [action, mode, size, mtime]
+            # info here is a DirStateEntry
             info = @files[file]
             if info.removed? and [-1, -2].member? info.size