mercurial/repair.py
changeset 45887 ec73a6a75985
parent 45886 a985c4fb23ca
child 46566 beaa233e81f7
equal deleted inserted replaced
45886:a985c4fb23ca 45887:ec73a6a75985
   208                 # TODO this code violates the interface abstraction of the
   208                 # TODO this code violates the interface abstraction of the
   209                 # transaction and makes assumptions that file storage is
   209                 # transaction and makes assumptions that file storage is
   210                 # using append-only files. We'll need some kind of storage
   210                 # using append-only files. We'll need some kind of storage
   211                 # API to handle stripping for us.
   211                 # API to handle stripping for us.
   212                 oldfiles = set(tr._offsetmap.keys())
   212                 oldfiles = set(tr._offsetmap.keys())
       
   213                 oldfiles.update(tr._newfiles)
   213 
   214 
   214                 tr.startgroup()
   215                 tr.startgroup()
   215                 cl.strip(striprev, tr)
   216                 cl.strip(striprev, tr)
   216                 stripmanifest(repo, striprev, tr, files)
   217                 stripmanifest(repo, striprev, tr, files)
   217 
   218