##// END OF EJS Templates
tests: conditionalize test-phases.t output for chg...
Pulkit Goyal -
r45108:97265a0c default
parent child Browse files
Show More
@@ -896,11 +896,13 b' Check we deny its usage on older reposit'
896 $ hg --config "phases.new-commit=internal" commit -m "my test internal commit" 2>&1 | grep ProgrammingError
896 $ hg --config "phases.new-commit=internal" commit -m "my test internal commit" 2>&1 | grep ProgrammingError
897 ** ProgrammingError: this repository does not support the internal phase
897 ** ProgrammingError: this repository does not support the internal phase
898 raise error.ProgrammingError(msg)
898 raise error.ProgrammingError(msg)
899 mercurial.error.ProgrammingError: this repository does not support the internal phase
899 mercurial.error.ProgrammingError: this repository does not support the internal phase (no-chg !)
900 ProgrammingError: this repository does not support the internal phase (chg !)
900 $ hg --config "phases.new-commit=archived" commit -m "my test archived commit" 2>&1 | grep ProgrammingError
901 $ hg --config "phases.new-commit=archived" commit -m "my test archived commit" 2>&1 | grep ProgrammingError
901 ** ProgrammingError: this repository does not support the archived phase
902 ** ProgrammingError: this repository does not support the archived phase
902 raise error.ProgrammingError(msg)
903 raise error.ProgrammingError(msg)
903 mercurial.error.ProgrammingError: this repository does not support the archived phase
904 mercurial.error.ProgrammingError: this repository does not support the archived phase (no-chg !)
905 ProgrammingError: this repository does not support the archived phase (chg !)
904
906
905 $ cd ..
907 $ cd ..
906
908
General Comments 0
You need to be logged in to leave comments. Login now