monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Perhaps strange request: partial per-file commit


From: Ralf S. Engelschall
Subject: Re: [Monotone-devel] Perhaps strange request: partial per-file commit
Date: Tue, 15 Jan 2008 16:45:47 +0100
User-agent: Mutt/1.5.17 OpenPKG/CURRENT (2007-11-01)

On Tue, Jan 15, 2008, Thomas Moschny wrote:

> On Tuesday 15 January 2008, Ralf S. Engelschall wrote:
> > So, it would be also nice
> > to have the "hunk restriction" feature for "mtn diff":
> >
> >     $ mtn diff file11:-2,-4
>
> You can use filterdiff from the very useful patchutils[1] collection for that:
>
>   mtn diff file11 | filterdiff -# 1,3,5-
>
> would show hunks one, three and all hunks starting from the fifth.
> Selecting hunks based on which lines they contain is also possible.

Ok, right, for "mtn diff" this works. But unfortunately, for the main
purpose, the partial per-file commit, it still doesn' help... :-(

                                       Ralf S. Engelschall
                                       address@hidden
                                       www.engelschall.com





reply via email to

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