changeset 5668:2cd39f4731af

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.
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 26 Nov 2020 09:56:26 +0800
parents 716063c7a372
children b0a103e08d89
files tests/test-prune.t
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)