The .mtn-ignore file is a convenience file for a the lua hook "ignore_file(name)" in your ~/.monotone/monotonerc file. The default can be found in the manual or on-line, here:
http://venge.net/monotone/docs/Default-hooks.html#Default-hooks You could probably do some basic string parsing inside a custom lua function to recognize exclude/include keywords and adjust the actions accordingly. I have used my own ignore_file(name) lua function for a reason I don't recall. In any case, this is what I use: function ignore_file(name) if (string.find(name, "%.pyc$")) then return true end if (string.find(name, "%.pyo$")) then return true end if (string.find(name, "%.a$")) then return true end if (string.find(name, "%.so$")) then return true end if (string.find(name, "%.o$")) then return true end if (string.find(name, "%.la$")) then return true end if (string.find(name, "%.lo$")) then return true end if (string.find(name, "%.aux$")) then return true end if (string.find(name, "%.bak$")) then return true end if (string.find(name, "%.orig$")) then return true end if (string.find(name, "%.rej$")) then return true end if (string.find(name, "%~$")) then return true end if (string.find(name, "/core$")) then return true end if (string.find(name, "^CVS/")) then return true end if (string.find(name, "/CVS/")) then return true end if (string.find(name, "^%.svn/")) then return true end if (string.find(name, "/%.svn/")) then return true end if (string.find(name, "^SCCS/")) then return true end if (string.find(name, "/SCCS/")) then return true end if (string.find(name, ".DS_Store$")) then return true end if (string.find(name, "autom4te.cache$")) then return true end return false; end So, lots of possibilities there, without having to hack in to the mtn binary itself. -- Chad Walstrom <[EMAIL PROTECTED]> http://www.wookimus.net/ assert(expired(knowledge)); /* core dump */ _______________________________________________ Monotone-devel mailing list Monotone-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/monotone-devel