shooting in the foot with caret ^ on windows

Roman Neuhauser neuhauser at sigpipe.cz
Mon Jul 21 13:26:00 UTC 2014


# techtonik at gmail.com / 2014-07-21 05:53:07 +0300:
> Isn't something like parents(tip)[3] is an safe alternative to tip^3 ?

no:

roman at wrench wc/MINE/py-impala master 0 1007 1 > hg log -c tip^
zsh: no match
roman at wrench wc/MINE/py-impala master 0 1008 1 > hg log -c parents(tip)   
zsh: unknown file attribute: i
roman at wrench wc/MINE/py-impala master 0 1009 1 > hg log -c
parents(tip)[1]
zsh: no match
roman at wrench wc/MINE/py-impala master 0 1010 1 > 

point in case: there's no *the* shell, so there's no *the* shell-safe
character set.  and only dog knows what fish[0] would complain about...

[0] http://fishshell.com/

-- 
roman



More information about the Mercurial mailing list