test-help.out: tiny test failure
M.A. Williamson
maw48 at cam.ac.uk
Mon Mar 13 18:40:30 UTC 2006
>When I ran `make tests', `test-help' failed.
>Here's the patch.
Hrrmmm. Looks like you had extensions installed on the system before
running the test, right? They've added extra command options that aren't in
the "bare" hg system.
Probably the straightforward fix is to locally disable extensions when
running test-help on the test repository. An option in the repository's
local hgrc would seem to make sense, but I don't actually know if there's a
way to disable extensions that are enabled in ~/.hgrc
Anyone?
>[Though note the capitalization in the `ct' rule. Should be s/Run/run/
> to be consistent with others. And the entry for `view' is not
> alphabetized -- it should precede the one for `verify'. ]
That's probably my fault, actually :-) I probably missed that when I
originally wrote the extension.
It can easily be fixed in the next release of commit tool - I'm cc-ing
Fredrik.
Cheers,
Mark
>diff -r 9ddf4928d475 tests/test-help.out
>--- a/tests/test-help.out Sun Mar 12 15:15:09 2006 +0100
>+++ b/tests/test-help.out Mon Mar 13 19:23:09 2006 +0100
>@@ -46,6 +46,7 @@ list of commands (use "hg help -v" to sh
> clone make a copy of an existing repository
> commit commit the specified files or all outstanding changes
> copy mark files as copied for the next commit
>+ ct Run hgct commit tool
> diff diff repository (or selected files)
> export dump the header and diffs for one or more changesets
> forget don't add the specified files on the next commit
>@@ -79,6 +80,7 @@ list of commands (use "hg help -v" to sh
> update update or merge working directory
> verify verify the integrity of the repository
> version output version and copyright information
>+ view start interactive history viewer
> add add the specified files on the next commit
> addremove add all new files, delete all missing files
> annotate show changeset information per file line
>@@ -87,6 +89,7 @@ list of commands (use "hg help -v" to sh
> clone make a copy of an existing repository
> commit commit the specified files or all outstanding changes
> copy mark files as copied for the next commit
>+ ct Run hgct commit tool
> diff diff repository (or selected files)
> export dump the header and diffs for one or more changesets
> forget don't add the specified files on the next commit
>@@ -120,6 +123,7 @@ list of commands (use "hg help -v" to sh
> update update or merge working directory
> verify verify the integrity of the repository
> version output version and copyright information
>+ view start interactive history viewer
> hg add [OPTION]... [FILE]...
>
> add the specified files on the next commit
>_______________________________________________
>Mercurial mailing list
>Mercurial at selenic.com
>http://selenic.com/mailman/listinfo/mercurial
>
More information about the Mercurial
mailing list