[PATCH] Ensure that absolutized paths from hgrc do not contain ../ segments
Matt Mackall
mpm at selenic.com
Fri Jan 25 19:04:45 CST 2008
On Fri, 2008-01-25 at 19:30 -0500, Jesse Glick wrote:
> Thomas Arendsen Hein wrote:
> >> +hg in dupe | sed "s!$base!<base>!g"
> >> +cd ..
> >> +hg -R a in dupe | sed "s!$base!<base>!g"
> >
> > ... this sed looks scary.
>
> Why?
$ echo foo | sed "s!$base!<base>!g"
bash: !: event not found
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list