tests/test-dirstate.t
branchstable
changeset 49154 51262af89efe
parent 49150 f2ef6a4f918f
child 49155 c69adc82e7f7
equal deleted inserted replaced
49153:308e45f7b455 49154:51262af89efe
   127   $ dirstate_data_files () {
   127   $ dirstate_data_files () {
   128   >   find .hg -maxdepth 1 -name "dirstate.*"
   128   >   find .hg -maxdepth 1 -name "dirstate.*"
   129   > }
   129   > }
   130 
   130 
   131   $ find_dirstate_uuid () {
   131   $ find_dirstate_uuid () {
   132   >   dirstate_data_files | sed 's#.hg/dirstate.##'
   132   >   hg debugstate --docket | grep uuid | sed 's/.*uuid: \(.*\)/\1/'
   133   > }
   133   > }
   134 
   134 
   135   $ dirstate_uuid_has_not_changed () {
   135   $ dirstate_uuid_has_not_changed () {
   136   >   # Pure Python always rewrites the whole dirstate
   136   >   # Pure Python always rewrites the whole dirstate
   137   >   if [ $# -eq 1 ] || [ "$HGMODULEPOLICY" = *"rust"* ] || [ -n "$RHG_INSTALLED_AS_HG" ]; then
   137   >   if [ $# -eq 1 ] || [ "$HGMODULEPOLICY" = *"rust"* ] || [ -n "$RHG_INSTALLED_AS_HG" ]; then