[PATCH 06 of 17] rebase: use nullrev instead of -1

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Dec 1 01:13:11 CST 2014



On 11/30/2014 11:08 AM, Mads Kiilerich wrote:
> # HG changeset patch
> # User Mads Kiilerich <madski at unity3d.com>
> # Date 1417374421 -3600
> #      Sun Nov 30 20:07:01 2014 +0100
> # Node ID 09fe6c1db24cc0c3fd3dceae4063c0a8dcbd11a5
> # Parent  0cff65a0d024e31284ff6eb804ed4ac65f628a6e
> rebase: use nullrev instead of -1

irk!

Using constant is good. Using unrelated constant because they happen to 
have the same value is wrong.

Can you call this "todorev" instead?

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list