Mercurial > public > mercurial-scm > hg
diff tests/test-import.t @ 44330:b339faf3f843 stable
import: don't ignore `--secret` when `--bypass` is specified
Differential Revision: https://phab.mercurial-scm.org/D8126
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 16 Feb 2020 17:05:18 -0500 |
parents | 71dbd6f6fcb8 |
children | 5c2a4f37eace |
line wrap: on
line diff
--- a/tests/test-import.t Tue Feb 18 13:46:10 2020 -0500 +++ b/tests/test-import.t Sun Feb 16 17:05:18 2020 -0500 @@ -478,6 +478,12 @@ +line 2 $ hg --cwd b phase 1: secret + $ hg --cwd b --config extensions.strip= strip 1 --no-backup --quiet + $ hg --cwd b import --bypass --secret ../exported-tip.patch + applying ../exported-tip.patch + $ hg --cwd b phase -r tip + 1: secret + $ hg --cwd b --config extensions.strip= strip 1 --no-backup --quiet $ rm -r b