monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] new include/exclude commands?


From: Stephen Leake
Subject: Re: [Monotone-devel] new include/exclude commands?
Date: Sun, 12 Oct 2008 17:09:22 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt)

"Derek Scherger" <address@hidden> writes:

> This change isn't about ignoring unversioned files but about temporarily
> ignoring changes to versioned files. I.e. restricting
> status/diff/commit/etc. to specified sets of files, which is already
> possible with command line path arguments. This just allows for a persistent
> selection of changed files so that several status/diff/etc. commands can be
> executed without having to specify the same set of paths every time. It also
> allows for successive refinement of the set of included/excluded
> files.

I implemented just such a feature in the Emacs DVC interface to
monotone; it would make sense to have a .mtn-exclude file for this.

I use it to exclude Makefiles by default, since we typically edit them
temporarily to compile and run debug code. From the Emacs DVC
interface, they can be un-excluded for any particular commit.

I suggest that if .mtn-exclude is implemented, there be a --unexclude
option to override the settings in .mtn-exclude for a file for one
commit.

-- 
-- Stephe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]