comparison mercurial/diffhelpers.c @ 12929:515c2786e1cf

revsets: let parents() return parents of working dir This patch makes the 'set' argument to revset function parents() optional. Like p1() and p2(), if no argument is given, returns the parent(s) of the working directory. Morally equivalent to 'p1()+p2()', as expected.
author Kevin Bullock <kbullock@ringworld.org>
date Thu, 04 Nov 2010 17:09:00 -0500
parents f50103035c38
children 613b8bd2284e
comparison
equal deleted inserted replaced
12928:a5f7f1e9340e 12929:515c2786e1cf