[PATCH] bookmarks: avoid creating a nested repository during testing

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Feb 12 08:53:02 EST 2016



On 02/12/2016 08:19 AM, Martijn Pieters wrote:
> # HG changeset patch
> # User Martijn Pieters <mjpieters at fb.com>
> # Date 1455265166 0
> #      Fri Feb 12 08:19:26 2016 +0000
> # Node ID 70c6f8ac53b569a59b20b8097ee91cf1bcad6995
> # Parent  cc591353a8663619865b7cfb7f9a1d6ae9f60290
> bookmarks: avoid creating a nested repository during testing.
>
> This helps the test to pass with hgwatchman, which would otherwise need to be
> taught about a nested .hg directory.

While I entirely support detaching bookmark test from repository nesting 
tests, I would like to make sure we still testing repository nesting 
properly and that watchman is still failing a test somewhere for the 
very reason you are working around here.

Can you either find and point at such test case (in the description of a 
V2) or introduce one (in a V2 series) ?

Thanks.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list