[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Re: Proposal for human readable revision IDs
From: |
Thomas Haas |
Subject: |
Re: [Monotone-devel] Re: Proposal for human readable revision IDs |
Date: |
Tue, 06 Sep 2005 16:02:37 +0200 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
Bruce Stephens wrote:
> Andy Jones <address@hidden> writes:
>
> [...]
>
>
>>If you want a guaranteed unique name for the revision, use the
>>revision hash id, as now. The same applies to the "abbreviated
>>revision ID" attack outlined above: you'd want to use the revision
>>ID in your 'montone pull' to make sure you got the right one; but
>>from then on you could use the nickname.
>
>
> OK, how about this as an implementation: you add a lua hook that's
> used when printing a revision id. It could take a hash as an
> argument, containing the revision and all certs that apply to that
> revision (or something similar). Then change the code to use that
> hook, and add an option so that users can turn it off (to get the full
> hash). Obviously the default would be to display the revision id.
>
> Then people can experiment with truncated hashes, nicknames, and all
> sorts of things (provided they can be constructed from the certs on
> that one revision, so that limits things a bit).
... the hook shall be available for all identifiers, not only revisions
-- and, preferably, the abbreviated id should be stored in the database.
Regards
- tom
- Re: [Monotone-devel] Re: Proposal for human readable revision IDs, (continued)
- Re: [Monotone-devel] Re: Proposal for human readable revision IDs, Andy Jones, 2005/09/06
- [Monotone-devel] Re: Proposal for human readable revision IDs, Bruce Stephens, 2005/09/06
- Re: [Monotone-devel] Re: Proposal for human readable revision IDs, Thomas Haas, 2005/09/06
- Re: [Monotone-devel] Re: Proposal for human readable revision IDs, Bruce Stephens, 2005/09/07
- Re: [Monotone-devel] Re: Proposal for human readable revision IDs, Thomas Haas, 2005/09/07
- [Monotone-devel] Re: Proposal for human readable revision IDs, Bruce Stephens, 2005/09/07
- Re: [Monotone-devel] Re: Proposal for human readable revision IDs, Florian Weimer, 2005/09/07
- [Monotone-devel] Re: Proposal for human readable revision IDs, Bruce Stephens, 2005/09/07
- Re: [Monotone-devel] Re: Proposal for human readable revision IDs, Thomas Haas, 2005/09/07
- [Monotone-devel] Re: Proposal for human readable revision IDs, Bruce Stephens, 2005/09/07
- Re: [Monotone-devel] Re: Proposal for human readable revision IDs,
Thomas Haas <=
- [Monotone-devel] Re: Proposal for human readable revision IDs, Bruce Stephens, 2005/09/06
- Re: [Monotone-devel] Re: Proposal for human readable revision IDs, Thomas Haas, 2005/09/06
- Re: [Monotone-devel] Re: Proposal for human readable revision IDs, Matt Johnston, 2005/09/06
- Re: [Monotone-devel] Re: Proposal for human readable revision IDs, Thomas Haas, 2005/09/07
- Re: [Monotone-devel] Proposal for human readable revision IDs, Hendrik Boom, 2005/09/07
Re: [Monotone-devel] Proposal for human readable revision IDs, Thomas Haas, 2005/09/06
Re: [Monotone-devel] Proposal for human readable revision IDs, Hendrik Boom, 2005/09/07