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-users 17279
- From: Seth House <seth@xxxxxxxxx>
- To: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: vcs_info on a hg repository with a git subrepository; actionformats works ok, formats does not
- Date: Mon, 17 Sep 2012 09:57:29 -0700
- Cc: Ioannis Koutras <ioannis.koutras@xxxxxxxxx>, zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Cio8EGdm/1y7f0G3DcLh/sXxKodrAcuF0n6FQOBnhv4=; b=j1jcHgRaC6ZngSBGAzVe8fpPp1qoiyU07N6zfzJmnZgqZ3lKoPkRACn/snWLeytt3l LHvIvbWrDArFiK/4uqYtlWrgIUiIIE4u9UHCBod3sonV9wYorbofUwL8Gf3KMqRFRaUB a7y/whpffmnzfos5gaWS1g6jHMheG2IZLVb/BchpmdNdYaZpPkJfu33XpnadunPhVLmI ccRyq94xQljc5lJlqzFrXborO9W+6G/2cuaXZY957dUHLuyQ2qf9ScAqJ3XJVWevYTVO RapIB5EkJjFZu7wAlMk3yxTA8zD2ej7EFRSeYVCD6bpbZN1hWH9ZWGNtnNY53QcCJMta VR8w==
- In-reply-to: <87vcfca9sa.fsf@ft.bewatermyfriend.org>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-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>
- Sender: whiteinge@xxxxxxxxx
That may be the answer.
That said, their addition of git commands to the debug output isn't
outputting terribly useful info. I wonder if that is intentional.
Especially since the output differs with the presence of the -r flag. (I
will research.)
The --debug flag is used to get hg to output the full sha. Perhaps there is
a better way to get all req'd info.
On Sep 17, 2012 9:34 AM, "Frank Terbeck" <ft@xxxxxxxxxxxxxxxxxxx> wrote:
> Seth House wrote:
> [...]
> > The output for the newer Mercurial is below:
> >
> > % hg --debug id -i -n -b
> > nested: git --version
> > nested: git config --bool core.bare
> > nested: git rev-parse HEAD
> > nested: git update-index -q --refresh
> > nested: git diff-index --quiet HEAD
> > 4a0f6db684a9b73ca8da117d2e368d309385bc20 1 default
>
> ...so, what's the solution? read data until there is no more to read and
> then use the data from the last line of the output?
>
> Regards, Frank
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author