monotone-devel
[Top][All Lists]
Advanced

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

RE: [Monotone-devel] state of the monotone tools?


From: Craig L. Ching
Subject: RE: [Monotone-devel] state of the monotone tools?
Date: Thu, 8 Nov 2007 12:12:41 -0600

I apologize for the noise, I didn't realize you could use selectors in place of 
rev id's in --to and --from :-P

Cheers,
Craig

-----Original Message-----
From: address@hidden on behalf of Craig L. Ching
Sent: Thu 11/8/2007 11:17 AM
To: Nathaniel Smith; address@hidden
Subject: RE: [Monotone-devel] state of the monotone tools?
 
Hi,

Kelly and I are just running through some scenarios on how we currently use 
bonsai with cvs and trying to apply them to how we'd use monotone to solve the 
same problem.  I've had a look through the automate interfaces, but I see 
nothing on being able to limit/search based on date/time.  Is that possible?

For instance, here's a common scenario for us.  Something breaks and we need to 
see if any changes might have caused the break.  We know it was good last week, 
so let's just have a look at what has generally changed in the last week (and 
it's also very common to know which file is causing the break so we might even 
narrow our search down to a particular file in the given time range).  Is this 
something we can do with monotone?

Cheers,
Craig


-----Original Message-----
From: address@hidden on behalf of Nathaniel Smith
Sent: Mon 11/5/2007 1:41 PM
To: address@hidden
Subject: Re: [Monotone-devel] state of the monotone tools?
 
On Mon, Nov 05, 2007 at 10:57:07AM -0600, Kelly F. Hickel wrote:
>       The tool that I'm most concerned about replacing is
> viewvc/bonsai (we currently use both). One feature that we use quite a
> lot is to list all revisions made to a particular file (or directory) in
> a certain timeframe.

This is 'mtn log <file or dir>', except that doesn't restrict to a
particular time frame.  I'm not sure what behavior you would want
there given mtn's lack of a consistent clock.  Adding '--from' and
'--to' can let you select spans in the graph's history.

> Or, what changes did so and so make within the
> entire repo during some timeframe.

This takes slightly more scripting, but is still relatively
straightforward.  The selector 'a:<so-and-so>' selects all revisions
whose author cert is <so-and-so>, and you can do things like
  mtn automate select a:so-and-so \
  | mtn automate toposort address@hidden \
  | xargs -n1 mtn log --last=1 --from

None of this is web/gui-fical, but thought I'd throw it out there in
case it helped.

-- Nathaniel

-- 
Details are all that matters; God dwells there, and you never get to
see Him if you don't struggle to get them right. -- Stephen Jay Gould


_______________________________________________
Monotone-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/monotone-devel



_______________________________________________
Monotone-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/monotone-devel





reply via email to

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