[PATCH 2 of 2] tests: replace parents with log revset RFC

Matt Mackall mpm at selenic.com
Fri Jan 8 17:39:48 UTC 2016


On Wed, 2015-12-23 at 13:57 -0600, timeless wrote:
> # HG changeset patch
> # User timeless <timeless at mozdev.org>
> # Date 1450889771 0
> #      Wed Dec 23 16:56:11 2015 +0000
> # Node ID 829cb9e4e735b1ab2dfb3de5812d669c74b12c38
> # Parent  362b7b756dbc8e6e3fc7dfbcc8f0e7cc2fcc6955
> tests: replace parents with log revset RFC
> 
> Since `hg parents` is deprecated, we should avoid using it
> in general testing.

Mercurial's deprecated is not the rest of the world's deprecated. We'll always
have a parents command, there's no point removing it from the tests.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list