tags:

views:

139

answers:

2

I'm sure this is a dumb question, but what is the syntax to ignore my _Resharper.* directories with Bazaar? I've tried ignoring: \_Resharper*.* ./\_Resharper*.*, **/\_Resharper*.*, plus variations of those on the wildcards. No matter what I do, it continues to pick up the directory.

+1  A: 

You are probably bitten by the wildcard expansion occuring in the shell.

Type bzr ignore --help and look at the Examples section:

  • Ignore the top level Makefile: bzr ignore ./Makefile
  • Ignore class files in all directories: bzr ignore "*.class"
  • Ignore .o files under the lib directory:bzr ignore "lib/**/*.o"
  • Ignore .o files under the lib directory: bzr ignore "RE:lib/.*\.o"
  • Ignore everything but the "debian" toplevel directory: bzr ignore "RE:(?!debian/).*"
ddaa
A: 

You don't need to use backslash there. Just

_Resharper.*

or

_Resharper

will work.

bialix
Actually added that to escape the '_'char.. when I first posted it wasn't showing up. Added it, worked (backslash not visible)... though now both chars show up.
Scott
try using just quotes or double quotes.
bialix