[PATCH] fix hg log behavior with empty repositories (issue3497)

Matt Mackall mpm at selenic.com
Mon Apr 15 18:20:28 CDT 2013


On Tue, 2013-04-16 at 01:27 +0400, Alexander Plavin wrote:
> # HG changeset patch
> # User Alexander Plavin <me at aplavin.ru>
> # Date 1365718455 -14400
> # Node ID 4cb2bccaa482456b9c6e7ddb8437f76040967161
> # Parent  9a89040d53d4d592b64deee63ebc1e3d5c7f8a4c
> fix hg log behavior with empty repositories (issue3497)

Not quite to form, see 'hg log' for examples.

> Make output in this special case consistent with general case one.

This case from the bug report probably ought to be in your test:

        3. hg log -r null -q
        expected: -1:000000000000

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list