[Bug 5231] New: The file(pattern) predicate doesn't working in the Notify extension

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Sun May 8 15:32:26 UTC 2016


https://bz.mercurial-scm.org/show_bug.cgi?id=5231

            Bug ID: 5231
           Summary: The file(pattern) predicate doesn't working in the
                    Notify extension
           Product: Mercurial
           Version: 3.8.1
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: revset
          Assignee: bugzilla at selenic.com
          Reporter: lkebin at gmail.com
                CC: mercurial-devel at selenic.com

I did open the notify extension and setup [reposubs] section like this on my
remote server side:

[hooks]
changegroup.notify = python:hgext.notify.hook

[extensions]
notify=

[reposubs]
*/test#file('migration/*.php') = im at sample.com

But when I create/modify the .php files under the migration directory, and push
to remote server, I got error message:

error: changegroup.notify hook failed: migration/*.php not under root
'/private/tmp/test'

But I did try to use revset in the log command:

hg log -r "file('migration/*.php')"

It is working.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list