[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] monotone suppresses .svn directories.
From: |
Stephen Leake |
Subject: |
Re: [Monotone-devel] monotone suppresses .svn directories. |
Date: |
Tue, 29 Nov 2011 22:46:01 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt) |
Richard Levitte <address@hidden> writes:
> In message <address@hidden> on Tue, 29 Nov 2011 11:24:37 -0500, Hendrik Boom
> <address@hidden> said:
>
> hendrik> On Tue, Nov 29, 2011 at 02:28:52AM -0500, Stephen Leake wrote:
> hendrik> > Hendrik Boom <address@hidden> writes:
> hendrik> >
> hendrik> > > How can I do the recursive mtn add and suppress the .svn
> suppression?
> hendrik> >
> hendrik> > .svn is in the standard Lua function 'ignore_file'; you can
> override
> hendrik> > that function definition in your ~/.monotone/monotonerc
> hendrik>
> hendrik> Except I might still want to not override it when I'm working on
> other
> hendrik> projects. Is there some per-project or similar way of providing lua
> hendrik> function? Shoud there be?
>
> _MTN/monotonerc (see http://www.monotone.ca/docs/Lua-Reference.html#rcfiles)
>
> However, that means that everyone who shares this particular project
> must maintain their respective copy of that file, which is a bit dumb
> in this case...
If there was a way to get the workspace directory from a Lua function (I
don't see 'cwd' or equivalent), you could use "if cwd = <project
using .svn> then ..." in ~/.monotone/monotonerc
--
-- Stephe