Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: vcs_info on a hg repository with a git subrepository; actionformats works ok, formats does not
- X-seq: zsh-workers 30681
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: Seth House <seth@xxxxxxxxx>
- Subject: Re: vcs_info on a hg repository with a git subrepository; actionformats works ok, formats does not
- Date: Wed, 19 Sep 2012 09:34:08 +0200
- Cc: Ioannis Koutras <ioannis.koutras@xxxxxxxxx>, zsh-workers@xxxxxxx
- In-reply-to: <87r4q09w52.fsf@ft.bewatermyfriend.org> (Frank Terbeck's message of "Mon, 17 Sep 2012 23:28:41 +0200")
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAPeCK2MsfJJxq0v1_eKA1uo9aJ1Mn-8+B-_YAPit-V_A4MFY6A@mail.gmail.com> <87boh4bt5l.fsf@ft.bewatermyfriend.org> <CAPeCK2MRukgGxx=nGhRs8oPMz=zPfj+XDcmf4Vaz+YJ+JZUEXw@mail.gmail.com> <877grsbrz7.fsf@ft.bewatermyfriend.org> <CAPeCK2PwM=GNAhxqmn-bMiDfKhpXJpOGgCqs05KJvMg1RsqkNg@mail.gmail.com> <87zk4oabam.fsf@ft.bewatermyfriend.org> <CABsXarH6MMNEsnUG=8O-VirH6biFKR9gMKQ7RcNgtKmQVw_Ltg@mail.gmail.com> <87vcfca9sa.fsf@ft.bewatermyfriend.org> <CABsXarF5CM=CjhrrCsPBdY0es2SpY=dQC2116grsq4rYDPsE=g@mail.gmail.com> <CABsXarGXg_m1i4tjPbUS5Fz+_BOGqbKKoG5-wKF01rOKgsKvhA@mail.gmail.com> <87r4q09w52.fsf@ft.bewatermyfriend.org>
Frank Terbeck wrote:
[...]
>> 1) Alter the hg backend to work without the full 40-char hash.
>>
>> The ``hg id`` command will always return a unique hash. The only thing
>> the full hash is being used for in the hg backend is comparisons with
>> MQ patches and that can be changed to be a left-match instead. We can
>> document why the full hash isn't available and if users are expecting
>> 40-chars we can give an example of how to pad the value with spaces.
>> This changes existing behavior.
[...]
>> FWIW, my personal preference is the first option as I feel the 40-char
>> hash is rarely desired or useful in a shell prompt.
After some thought, I agree. Relying on debugging features to remain
stable is not a good idea. Seth: Are you willing to send a patch?
Regards, Frank
Messages sorted by:
Reverse Date,
Date,
Thread,
Author