tests/test-fncache.t
branchstable
changeset 33607 6c142f279625
parent 33427 1bdafe1111ce
child 33956 1be228b96030
equal deleted inserted replaced
33606:806351695c6a 33607:6c142f279625
   268   >     wrapfunction(localrepo.localrepository, 'transaction', wrapper)
   268   >     wrapfunction(localrepo.localrepository, 'transaction', wrapper)
   269   > 
   269   > 
   270   > cmdtable = {}
   270   > cmdtable = {}
   271   > 
   271   > 
   272   > EOF
   272   > EOF
       
   273 
       
   274 Clean cached version
   273   $ rm -f "${extpath}c"
   275   $ rm -f "${extpath}c"
       
   276   $ rm -Rf "`dirname $extpath`/__pycache__"
       
   277 
   274   $ touch z
   278   $ touch z
   275   $ hg ci -qAm z
   279   $ hg ci -qAm z
   276   transaction abort!
   280   transaction abort!
   277   rollback completed
   281   rollback completed
   278   abort: forced transaction failure
   282   abort: forced transaction failure
   303   >     wrapfunction(transaction.transaction, '_abort', abortwrapper)
   307   >     wrapfunction(transaction.transaction, '_abort', abortwrapper)
   304   > 
   308   > 
   305   > cmdtable = {}
   309   > cmdtable = {}
   306   > 
   310   > 
   307   > EOF
   311   > EOF
       
   312 
       
   313 Clean cached versions
   308   $ rm -f "${extpath}c"
   314   $ rm -f "${extpath}c"
       
   315   $ rm -Rf "`dirname $extpath`/__pycache__"
       
   316 
   309   $ hg up -q 1
   317   $ hg up -q 1
   310   $ touch z
   318   $ touch z
   311   $ hg ci -qAm z 2>/dev/null
   319   $ hg ci -qAm z 2>/dev/null
   312   [255]
   320   [255]
   313   $ cat .hg/store/fncache | sort
   321   $ cat .hg/store/fncache | sort