hgext/remotefilelog/remotefilelogserver.py
changeset 50473 5a2fb64d38b2
parent 50471 521fec115dad
child 50485 5805b8b25426
equal deleted inserted replaced
50472:9fdc28e21b68 50473:5a2fb64d38b2
   160                             if not fp.endswith(b'.i') and not fp.endswith(
   160                             if not fp.endswith(b'.i') and not fp.endswith(
   161                                 b'.d'
   161                                 b'.d'
   162                             ):
   162                             ):
   163                                 n = util.pconvert(fp[striplen:])
   163                                 n = util.pconvert(fp[striplen:])
   164                                 d = store.decodedir(n)
   164                                 d = store.decodedir(n)
   165                                 yield store.StoreEntry(
   165                                 yield store.SimpleStoreEntry(
   166                                     unencoded_path=d,
   166                                     unencoded_path=d,
   167                                     is_revlog=True,
       
   168                                     revlog_type=None,
       
   169                                     is_revlog_main=False,
       
   170                                     is_volatile=False,
   167                                     is_volatile=False,
   171                                     file_size=st.st_size,
   168                                     file_size=st.st_size,
   172                                 )
   169                                 )
   173 
   170 
   174                         if kind == stat.S_IFDIR:
   171                         if kind == stat.S_IFDIR: