[PATCH 4 of 6] record: add tests for the curses recording interface

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Mar 13 17:46:54 CDT 2015



On 03/13/2015 02:21 PM, Laurent Charignon wrote:
> # HG changeset patch
> # User Laurent Charignon <lcharignon at fb.com>
> # Date 1426196575 25200
> #      Thu Mar 12 14:42:55 2015 -0700
> # Node ID 2fdd632353a2381e88ed2572a4e691502adc5992
> # Parent  0c3a80879d4ede76101bbe46d4a67a19a6e28608
> record: add tests for the curses recording interface
>
> diff --git a/tests/test-commit-interactive-curses.t b/tests/test-commit-interactive-curses.t
> new file mode 100644
> --- /dev/null
> +++ b/tests/test-commit-interactive-curses.t
> @@ -0,0 +1,183 @@
> +Set up a repo
> +
> +  $ cat <<EOF >> $HGRCPATH
> +  > [ui]
> +  > interactive = true
> +  > [experimental]
> +  > crecord = true
> +  > crecordTestMode = testModeCommands
> +  > EOF
> +
> +  $ hg init a
> +  $ cd a
> +
> +Comiting some changes but stopping on the way

Commiting ;-) (fixed locally)

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list