Ignore symbolic links?

Pat Kane pekane52 at gmail.com
Thu May 1 15:08:46 CDT 2008


Hi,

I have just started to us Mercurial to maintain a local
XFree86 tree.  I have the initial distro checked into
Hg and have just done a "make World" to build the tree.

Now, when I do "hg status" I get 33 thousand lines
starting with "?". I was able to get rid of about 1/2
of those with simple ".hgignore" entries for .o and
and other derived files. But there are many symbolic
links created during the build process that point
to a master source file. For example:

  $ ls -l cfb32
  ...   cfb8line.c -> ../cfb/cfb8line.c
  ...   cfb8lineCO.c -> cfb8line.c
  ...   cfb8lineCP.c -> cfb8line.c
        .
        .
        .

Is there a simple way to tell Hg to ignore those symbolic links?

I imagine I could always just do:  find -type l  >> .hgignore

Thanks for any advice,

Pat
---


More information about the Mercurial mailing list