[PATCH] templates/filters: extracting the user portion of an email address

Matt Mackall mpm at selenic.com
Fri Apr 6 11:25:39 CDT 2012


On Fri, 2012-04-06 at 13:49 +0200, Matteo Capobianco wrote:
> On Thursday, April 5, 2012 at 21:40 , Matt Mackall wrote:
> > Looks fine, queued for default.
> 
> 
> Great, thanks!
> 
> On a side note… Why does util.shortuser behaves like it currently does?
> What's the point of truncating at the first dot in the email address?
> 
> Just curious.

One of the main uses is annotate, where column width for the name is
precious. But you'd have to check the archives for more discussion.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list