[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Getting a diff for the first commit in a branch?
From: |
Nathaniel Smith |
Subject: |
Re: [Monotone-devel] Getting a diff for the first commit in a branch? |
Date: |
Wed, 30 Mar 2005 00:04:42 -0800 |
User-agent: |
Mutt/1.5.8i |
On Wed, Mar 30, 2005 at 01:11:22AM +0200, Richard Levitte - VMS Whacker wrote:
> Hi,
>
> What would be the best way to get a diff between, eh, nothing and the
> first commit?
>
> The reason I ask is that I'm almost done with my notifier script (soon
> to appear in the contrib directory), and the first commit is the
> crucial one that I haven't quite figured out how to display... Could
> it be that I need to synthesise it? I'm not sure I like to do that
> kind of ugly hack...
Oh, err, umm... 'monotone diff' should work, and if it doesn't, that's
a bug?
*writes a test case*
Hmm, seems to work fine.
Oh, I see, but you mean _after_ commit, you have a revision, and want
to diff it against its ancestor, but there is none. Yeah, there isn't
really a good way to do that ATM, though it's a perfectly possible
thing to do. What would be the right UI for it, I think is the
question...
-- Nathaniel
--
"...All of this suggests that if we wished to find a modern-day model
for British and American speech of the late eighteenth century, we could
probably do no better than Yosemite Sam."