monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Re: completing ids


From: Matthew A. Nicholson
Subject: Re: [Monotone-devel] Re: completing ids
Date: Fri, 03 Jun 2005 12:56:45 -0500
User-agent: Debian Thunderbird 1.0.2 (X11/20050331)

Bruce Stephens wrote:
Joel Reed <address@hidden> writes:

[...]


is there any function/SQL i could use/hack in to get something like:

(%:/opt/src/monotone) mt cat file 22f<TAB>
22f12e9d453065dce5ef5feabc41a5fa2399b8c3 commands.cc
22fad9e75c3d7d4d6e9e6467db85594f1ce51cd4 work.cc

not a big deal, but i like completeness!


I don't think there is.  It does seem a useful kind of thing to have
(another application of the same kind of operation might let me find
which revisions contain a particular filename, which might be handy).
It wouldn't necessarily be unique, I believe, since these are hashes
of the file contents, and the same content might appear under multiple
filenames.  That wouldn't normally be a problem, I guess.


Can bash be made to complete like this too? From what I understand it has programmable completion as well.

--
Matthew A. Nicholson
Digium




reply via email to

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