# HG changeset patch # User Anton Shestakov # Date 1606355786 -28800 # Node ID 2cd39f4731af78b10e5e45a362152815ee074fa3 # Parent 716063c7a37204077cf05ac96e1bffa388300d2c tests: use debugstrip core command for testing prunestrip Now that strip lives in core hg, let's test that using debugstrip without enabling strip extension works as expected. diff -r 716063c7a372 -r 2cd39f4731af tests/test-prune.t --- a/tests/test-prune.t Wed Nov 25 13:50:37 2020 +0100 +++ b/tests/test-prune.t Thu Nov 26 09:56:26 2020 +0800 @@ -265,11 +265,11 @@ $ mkcommit n1 created new head $ mkcommit n2 - $ hg --config extensions.strip= --config experimental.prunestrip=True strip -r . + $ hg --config experimental.prunestrip=True debugstrip -r . 0 files updated, 0 files merged, 1 files removed, 0 files unresolved working directory is now at c7e58696a948 1 changesets pruned - $ hg --config extensions.strip= --config experimental.prunestrip=True strip -r . --bundle + $ hg --config experimental.prunestrip=True debugstrip -r . --bundle 0 files updated, 0 files merged, 1 files removed, 0 files unresolved saved backup bundle to $TESTTMP/repo/.hg/strip-backup/c7e58696a948-69ca36d3-backup.hg (glob)