test-extension broken

Greg Ward greg at gerg.ca
Fri Mar 5 13:00:06 CST 2010


I was feeling a little bit masochistic so decided to run the whole
test suite.  Turns out that one test has been broken for a few weeks:

ERROR: /home/gward/src/hg-crew/tests/test-extension output changed
--- /home/gward/src/hg-crew/tests/test-extension.out
+++ /home/gward/src/hg-crew/tests/test-extension.err
@@ -122,7 +122,28 @@

 use "hg help extensions" for information on enabling extensions
 % broken disabled extension and command
-broken extension - (no help text available)
+hg: unknown command 'broken'
+Mercurial Distributed SCM

-use "hg help extensions" for information on enabling extensions
+basic commands:
+
+ add        add the specified files on the next commit
+ annotate   show changeset information by line for each file
+ clone      make a copy of an existing repository
+ commit     commit the specified files or all outstanding changes
+ diff       diff repository (or selected files)
+ export     dump the header and diffs for one or more changesets
+ forget     forget the specified files on the next commit
+ init       create a new repository in the given directory
+ log        show revision history of entire repository or files
+ merge      merge working directory with another revision
+ pull       pull changes from the specified source
+ push       push changes to the specified destination
+ remove     remove the specified files on the next commit
+ serve      export the repository via HTTP
+ status     show changed files in the working directory
+ summary    summarize working directory state
+ update     update working directory
+
+use "hg help" for the full list of commands or "hg -v" for details
 hg: unknown command 'foo'
!
Failed test-extension: output changed

I bisected it back to this changeset:

The first bad revision is:
changeset:   10364:de1e7099d100
user:        Brodie Rao <me+hg at dackz.net>
date:        2010-02-07 14:01:43 +0100
summary:     dispatch: provide help for disabled extensions and commands

At first sniff, it looks like this is genuine breakage -- ie. the test
is right and the code is wrong.

Greg


More information about the Mercurial-devel mailing list