[PATCH] log: make -fr show complete history from the given revs

Matt Mackall mpm at selenic.com
Tue Mar 3 19:54:11 UTC 2015


On Fri, 2015-02-27 at 09:54 -0800, Durham Goode wrote:
> # HG changeset patch
> # User Durham Goode <durham at fb.com>
> # Date 1423249495 28800
> #      Fri Feb 06 11:04:55 2015 -0800
> # Node ID 5e68ecffa023a3413dc5cba325b79951f7ceb574
> # Parent  ff5caa8dfd993680d9602ca6ebb14da9de10d5f4
> log: make -fr show complete history from the given revs
> 
> Right now it's very obtuse to show the history of a particular rev (hg log -r
> 'reverse(::foo)'). This changes the -f option to make it follow history for the
> revs specified by -r.
> 
> The current -f -r behavior is to limit the result of -r to only the commits that
> are ancestors of the current working copy. Changing this is a bit of a BC break,
> but the old behavior is A) rare, B) easy to emulate (& ::.), and C) currently
> undefined. The new behavior is frequently requested enough that I think the
> change is worth it.

Queued for default, thanks.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list