monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] Re: Doing a diff between branches


From: Bruce Stephens
Subject: [Monotone-devel] Re: Doing a diff between branches
Date: Wed, 13 Apr 2005 20:17:47 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Gerald W. Lester" <address@hidden> writes:

[...]

> Ok, is there a way to do it for just one file?

Sure.  For example,

    monotone diff --revision=24517f62e662d91a059f00573757f9a76bee01b9 
--revision=094a5075b4bd7fe379f810edeb5f03283b50e13a monotone.texi

> In general, how do I get the history of changes to a given file
> (both the diffs and the commit comments)?

Well, "monotone log" can be filtered by file.

I don't think either of those necessarily gives you "history".  For
that you'd presumably want to start somewhere and look at ancestors,
whereas I think "monotone log" may well look at all changesets?
(Maybe not; the brief documentation says "print history in reverse
order starting from 'ID' (filtering by 'file')", which makes it sound
as though it's doing the right thing.)

monotone-viz is pretty nice for this kind of thing, if you want an
interactive tool.

There's nothing quite like "monotone annotate", as far as I know.




reply via email to

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