mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 17:58:27 +03:00
b3b1b0e4ed
Summary: So the fixtures were broken -- there was apparently a bug that would cause p2 of root tree manifests to always be null. Fix them by regenerating trees. Also the directory name the tarball got extracted to had hyphens in it instead of underscores. Fix that to make it all underscores. I used the following commands to do this -- apologies for the hacky zsh: ``` $ for tar in *.tar.gz; do (x=${tar//.tar.gz/}; cp $x.tar.gz ~/local/tmp && pushd ~/local/tmp && rm -rf $x ${x//_/-} && tar xf $x.tar.gz && mv ${x//_/-} $x && pushd $x/.hg/store && rm 00manifesttree.i && hg backfilltree && popd && tar cf $x.tar.gz $x && popd && cp ~/local/tmp/$x.tar.gz .); done $ buck run scm/mononoke/tests/fixtures:regenerate -- *.tar.gz --overwrite ``` Reviewed By: farnz Differential Revision: D8854625 fbshipit-source-id: 08be7a1e89150b70a308343b43b299a0030708b9
130 KiB
130 KiB