##// END OF EJS Templates
tests: glob 'mercurial.error' in test-phases.t...
Pulkit Goyal -
r45772:41021660 stable
parent child Browse files
Show More
@@ -896,13 +896,11 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 (no-chg !)
899 *ProgrammingError: this repository does not support the internal phase (glob)
900 ProgrammingError: this repository does not support the internal phase (chg !)
901 $ hg --config "phases.new-commit=archived" commit -m "my test archived commit" 2>&1 | grep ProgrammingError
900 $ hg --config "phases.new-commit=archived" commit -m "my test archived commit" 2>&1 | grep ProgrammingError
902 ** ProgrammingError: this repository does not support the archived phase
901 ** ProgrammingError: this repository does not support the archived phase
903 raise error.ProgrammingError(msg)
902 raise error.ProgrammingError(msg)
904 mercurial.error.ProgrammingError: this repository does not support the archived phase (no-chg !)
903 *ProgrammingError: this repository does not support the archived phase (glob)
905 ProgrammingError: this repository does not support the archived phase (chg !)
906
904
907 $ cd ..
905 $ cd ..
908
906
General Comments 0
You need to be logged in to leave comments. Login now