       for entry in entries
         parts = entry.split(' ')
         status = parts[0]
-        path = parts[1]
+        pathPart = parts[1]
         if status?
           path_status |= @mapHgStatus(status)
       return path_status

      for entry in entries
        parts = entry.split(' ')
        status = parts[0]
        path = parts[1]
        if path? && status?
          items.push({
            'path': path
            'status': @mapHgStatus(status)
          })


      for entry in entries
        parts = entry.split(' ')
        status = parts[0]
        pathPart = parts[1]
        if pathPart? && status?
          if (status is 'I') # || status is '?')
            items.push(pathPart.replace('..', ''))

    return items

