equal
deleted
inserted
replaced
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 |