[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Re: user-friendly hash formats, redux
From: |
Bruce Stephens |
Subject: |
[Monotone-devel] Re: user-friendly hash formats, redux |
Date: |
Sat, 22 Oct 2005 23:47:42 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Bruce Stephens <address@hidden> writes:
[...]
> I'm unconvinced. On the positive side, I think you can use this
> already as a selector: I'd be all in favour of adding options so that
> monotone would print out suitable strings as well as (or instead of,
> if you like) hashes.
I attach a quick attempt at doing this. I think it would probably be
better to call a lua hook, but this just has a fixed C++
implementation (with no documentation or tests). Author is chopped at
the first space (so the whole thing ought to be easily selectable; I
find it counts as a space in my terminal, anyway).
I've added it to a few commands. In particular log:
% ./monotone --last=1 --pretty-revid log -r
ced08d49d528c55b58bb64ba432d7e3ff3dda137
-----------------------------------------------------------------
Revision: net.venge.monotone/2005-10-22/Timothy/ced08d49
Ancestor: net.venge.monotone/2005-10-21/address@hidden/5a1bfb5c
Ancestor: net.venge.monotone/2005-10-22/Timothy/678d3317
Author: Timothy Brownawell <address@hidden>
Date: 2005-10-22T05:27:58
Branch: net.venge.monotone
Added files:
tests/t_database_sig_cleanup.at
tests/t_update_switch_branch.at
Modified files:
ChangeLog cert.hh commands.cc contrib/usher.cc database.cc
database.hh debian/changelog debian/control debian/rules
keys.cc main.cc monotone.cc sanity.cc sanity.hh
std_hooks.lua testsuite.at
ChangeLog:
merge of 5a1bfb5cd5789542698ad327c065d46d8490efa6
and 678d33170fba7e0a5b18311e8fbc477e4534e90a
outdiff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-devel] Re: user-friendly hash formats, redux,
Bruce Stephens <=