zsh-workers
 help / color / mirror / code / Atom feed
From: Benjamin Peterson <bp@benjamin-peterson.org>
To: Frank Terbeck <ft@bewatermyfriend.org>
Cc: zsh-workers@zsh.org
Subject: Re: vcs_info for mercurial doesn't detect shared repos
Date: Thu, 16 Jan 2014 06:41:39 -0800	[thread overview]
Message-ID: <1389883299.24740.71559021.64C873AD@webmail.messagingengine.com> (raw)
In-Reply-To: <87ha94b852.fsf@ft.bewatermyfriend.org>



On Thu, Jan 16, 2014, at 01:14 AM, Frank Terbeck wrote:
> We used to use ‘branch’ as the file to check for but moved away from it,
> because it didn't work reliably with newer versions of mercurial (this
> might have changed again in the meantime, since I don't follow
> mercurial's development too closely).
> 
> Checking for ‘hgrc’ is not an option, because ~/.hg/hgrc is a possible
> configuration file location, which would lead to false positives in the
> user's home directory.

I see. Tricky!

> 
> If a mercurial developer has an idea on how to properly detect this
> particular extension, I'd be all ears. ;)

shared repos have a file .hg/sharedpath if that helps


  reply	other threads:[~2014-01-16 14:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-16  1:59 Benjamin Peterson
2014-01-16  9:14 ` Frank Terbeck
2014-01-16 14:41   ` Benjamin Peterson [this message]
2014-01-16 15:05     ` [PATCH] vcs_info, hg: Support detecting repos using ShareExtension Frank Terbeck
2014-01-17  5:48       ` Benjamin Peterson
2014-01-17  8:01         ` Frank Terbeck
2014-01-16 14:43 vcs_info for mercurial doesn't detect shared repos Benjamin Peterson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1389883299.24740.71559021.64C873AD@webmail.messagingengine.com \
    --to=bp@benjamin-peterson.org \
    --cc=ft@bewatermyfriend.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).