[PATCH 1 of 8] commands: add abandon command

Matt Mackall mpm at selenic.com
Tue Jun 7 16:15:54 CDT 2011


On Wed, 2011-06-08 at 00:07 +0300, Tuukka Tolvanen wrote:
> Ahh, nitpicking :)
> 
> 1.6.2011 19:42, Martin Geisler kirjoitti:
> 
> > +    """abandon specified changeset and its descendents"""
> 
> > +    abandoned = repo.changelog.descendants(root.rev())
> 
> Fight!
> 
> hg$ fgrep -ir descendant * --exclude='*.[mp]o' | wc -l
>        98
> hg$ fgrep -ir descendent * --exclude='*.[mp]o' | wc -l
>        26
> 
> descendant wins :)

Indeed. Descendant is a noun (what we want here) or an adjective.
Descendent is only an adjective which has a secondary meaning synonymous
with descendant.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list