From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7039 invoked by alias); 19 Sep 2012 07:34:49 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30681 Received: (qmail 29427 invoked from network); 19 Sep 2012 07:34:47 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at bewatermyfriend.org does not designate permitted sender hosts) From: Frank Terbeck To: Seth House Cc: Ioannis Koutras , zsh-workers@zsh.org Subject: Re: vcs_info on a hg repository with a git subrepository; actionformats works ok, formats does not In-Reply-To: <87r4q09w52.fsf@ft.bewatermyfriend.org> (Frank Terbeck's message of "Mon, 17 Sep 2012 23:28:41 +0200") References: <87boh4bt5l.fsf@ft.bewatermyfriend.org> <877grsbrz7.fsf@ft.bewatermyfriend.org> <87zk4oabam.fsf@ft.bewatermyfriend.org> <87vcfca9sa.fsf@ft.bewatermyfriend.org> <87r4q09w52.fsf@ft.bewatermyfriend.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) Date: Wed, 19 Sep 2012 09:34:08 +0200 Message-ID: <87lig6a2kv.fsf@ft.bewatermyfriend.org> MIME-Version: 1.0 Content-Type: text/plain X-Df-Sender: [pbs]NDMwNDQ0 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