monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Extensions to automation, again


From: Zack Weinberg
Subject: Re: [Monotone-devel] Extensions to automation, again
Date: Wed, 18 Oct 2006 10:40:19 -0700

On 10/18/06, Timothy Brownawell <address@hidden> wrote:
> automate get_file_by_path PATH [REVISION]
>  -> returns the complete file given in path in a certain revision,
>     if the revision is omitted, this basically returns the current
>     contents of the file in the current workspace revision
>
> automate get_file_type PATH [REVISION]
>  -> returns the file type binary/non-binary, again for the current
>     or any other revision

These would just be subsets of what get_manifest_of does. And I'd expect
that most applications that would be calling these would already have
results from get_manifest_of laying around.

Not necessarily; consider a stateless system like viewMTN, where you
don't want to parse out the entire manifest for a particular version
every time the user asks for information about a specific file.

zw




reply via email to

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