shooting in the foot with caret ^ on windows

Matt Mackall mpm at selenic.com
Sun Jul 20 23:10:18 UTC 2014


On Sun, 2014-07-20 at 13:53 +0300, anatoly techtonik wrote:
> C:\discovery>hg log -r tip^ --style compact
> 108   6dab298d9851   2014-05-16 21:40 +0300   techtonik
>   graphics/pysdl2/demofire.py: 1.5 - Fire Plane (not optimized)
...
> It would be nice to mention this on
> http://www.selenic.com/hg/help/revsets and link to
> cross-platform alternative.

Docs: sure, send a patch. 

As for a shell-safe alternative, the following symbols aren't suitable:

`~!@#$%&*()_-+=\|:;'"<>,./?

..because they're either used by a common shell and/or revsets already.
As that's every single other symbol on a US keyboard, I'm going to have
to deny your request.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list