view tests/test-check-setup-manifest.t @ 6385:0bc90758f613

topic: wrap branchmap.read() as well (compatibility for hg <= 4.9) In hg 5.0+ this logic lives in branchcache.load method, but in older versions there's a module-level function that loads on-disk cache and returns a branchcache object. Since we need the cache to have branch names in the FQBN format, we need to wrap branchmap.load() and do the conversion there as well.
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 05 Feb 2023 19:01:32 +0400
parents ccde78088d0b
children
line wrap: on
line source

#require test-repo check-manifest

Enable obsolescence to avoid the warning issue when obsmarkers are found

  $ cat << EOF >> $HGRCPATH
  > [experimental]
  > evolution = all
  > EOF

Run check manifest:

  $ cd $TESTDIR/..
  $ check-manifest
  lists of files in version control and sdist match