annotate .hgignore @ 273:8ddbcbfa57b2

Re-create wildignore options file if missing When the wildignore options file is a temp file it can be deleted by other processes which clean up temp files, so check the file is readable and re-create if necessary before adding it to the list of files from which to read exclusion patterns (-x option for update_tags scripts). Without this Gutentags sometimes gets stuck in a rut reporting ctags job failed, probably because I use both GUI vim and terminal vim, but might not use the GUI for days and when I return to it the temp file is gone.
author Mark Woods <mwoods.online.ie@gmail.com>
date Wed, 03 Aug 2022 18:22:56 +0100
parents ba9a9ebdd345
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23
ba9a9ebdd345 Properly ignore only tags files.
Ludovic Chabant <ludovic@chabant.com>
parents: 2
diff changeset
1 syntax:regexp
ba9a9ebdd345 Properly ignore only tags files.
Ludovic Chabant <ludovic@chabant.com>
parents: 2
diff changeset
2 (^|/)tags$
2
d073ca33c5b8 Added `.hgignore`.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
3