~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_dirstate_helpers_c.pyx

  • Committer: Martin Pool
  • Date: 2009-03-12 05:44:43 UTC
  • mfrom: (4124 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4144.
  • Revision ID: mbp@sourcefrog.net-20090312054443-rz5kodxh1cjjx2id
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
841
841
    packed_stat = _pack_stat(stat_value)
842
842
    details = PyList_GetItem_void_void(PyTuple_GetItem_void_void(<void *>entry, 1), 0)
843
843
    saved_minikind = PyString_AsString_obj(<PyObject *>PyTuple_GetItem_void_void(details, 0))[0]
 
844
    if minikind == c'd' and saved_minikind == c't':
 
845
        minikind = c't'
844
846
    saved_link_or_sha1 = PyTuple_GetItem_void_object(details, 1)
845
847
    saved_file_size = PyTuple_GetItem_void_object(details, 2)
846
848
    saved_executable = PyTuple_GetItem_void_object(details, 3)