all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Jim Blandy <jimb@red-bean.com>, 26249-done@debbugs.gnu.org
Subject: bug#26249: 26.0.50; vc-hg.el assumes wrong default ignore pattern syntax
Date: Mon, 10 Apr 2017 05:53:35 +0300	[thread overview]
Message-ID: <ad5774d6-e019-0e33-ece0-98e58c4b6ba8@yandex.ru> (raw)
In-Reply-To: <CAHgb+0m_5c=D8aAxVwsdUSD0N8Q3KzLrxx5+LAMpPso_vuGBGw@mail.gmail.com>

Version: 26.1

On 25.03.2017 03:07, Jim Blandy wrote:

> The problem is that vc-hg--slurp-hgignore-1 believes that default-syntax 
> should be vc-hg--hgignore-add-glob, but the default syntax in an 
> .hgignore file is actually Python/Perl regular expressions. Changing the 
> default value to vc-hg--hgignore-add-pcre seems to fix the problem:
> 
> modified   lisp/vc/vc-hg.el
> @@ -826,7 +826,7 @@ vc-hg--hgignore-add-path
>        prefix)))
> 
>   (defun vc-hg--slurp-hgignore-1 (hgignore prefix)
> -  (let ((default-syntax 'vc-hg--hgignore-add-glob))
> +  (let ((default-syntax 'vc-hg--hgignore-add-pcre))
>       (with-temp-buffer
>         (let ((attr (file-attributes hgignore)))
>           (when attr (insert-file-contents hgignore))

Thanks! Applied.





      reply	other threads:[~2017-04-10  2:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-25  1:07 bug#26249: 26.0.50; vc-hg.el assumes wrong default ignore pattern syntax Jim Blandy
2017-04-10  2:53 ` Dmitry Gutov [this message]

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=ad5774d6-e019-0e33-ece0-98e58c4b6ba8@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=26249-done@debbugs.gnu.org \
    --cc=jimb@red-bean.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.