recovering from a bad merge that lost file permissions

Matt Mackall mpm at selenic.com
Thu Oct 13 19:30:17 UTC 2011


On Thu, 2011-10-13 at 16:40 +0000, Haszlakiewicz, Eric wrote:
> > -----Original Message-----
> > From: Matt Mackall [mailto:mpm at selenic.com]
> > 
> > On Wed, 2011-10-12 at 20:17 +0000, Haszlakiewicz, Eric wrote:
> > > > hg locate -r 1.0 "set:exec()" | xargs chmod +x
> > >
> > > Neat, I didn't know about the locate command.
> > > What's that "set:exec()" syntax from?  The help page for hg locate
> > > just says it's a "pattern" so I assumed it was just a regular file
> > > wildcard pattern.  Is there a pattern help page somewhere?
> > 
> > hg help patterns
> > hg help filesets  <- new in 1.9
> 
> d'oh, of course.  I tried only "hg help pattern" w/o the "s".  :-[
> A mention of the "set:..." syntax on the patterns page would be nice so someone doing a blind search would know to read the contents more carefully, or maybe even combine those two pages?
> 
> Do you think it would be useful to include cross references on the help pages, similar to how man pages have a SEE ALSO section?  e.g. 

Yup, there are already a bunch of these and more would be great.

We could also teach the built-in help browser to user hyperlinks (the
RST markup is already there):

http://www.selenic.com/hg/help/patterns

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list