hg status on current dir

Robin Farine robin.farine at terminus.org
Wed May 2 15:01:07 CDT 2007


On Wednesday May 2 2007 19:53, Marcin Kasperski wrote:
> Dnia środa, 2 maja 2007 19:03, Matt Mackall napisał:
> > On Wed, May 02, 2007 at 11:53:56AM -0500, TK Soh wrote:
> > > Before I start digging in the code, I wonder if it's
> > > possible for hg status to check the files in the cwd without
> > > traveling into the subdirs.
> >
> > Yes:
> >
> > hg status <explicit list of files>
>
> Or maybe
>
>   hg status --exclude subdir1 --exclude sibdir2 .
>
> (specifying all subdirectories). Usually there are less
> subdirectories than files ;-)

Now that you mention exclude, how about

  hg status --exclude 'glob:*/*' .


Robin



More information about the Mercurial mailing list