[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mercurial
Subject:    Re: notify: find out how is subscribed.
From:       Uwe Brauer <oub () mat ! ucm ! es>
Date:       2018-03-28 8:09:55
Message-ID: 87o9j8sjsc.fsf () mat ! ucm ! es
[Download RAW message or body]


   > On Tue, 27 Mar 2018 04:02:07 -0400, Uwe Brauer <oub@mat.ucm.es> wrote:

   > The stacktrace in the other email shows that a hook in the notify
   > extension is running.  You'll need to disable those too.  You can see
   > what they are by running `hg config hooks`.  I think you can disable
   > them by setting each to an empty string.  (The help says that's how to
   > override site-wide hooks, but I'm not sure why there would be a
   > difference.)

Thanks!
hg push --config extensions.notify=! --config 'hooks.outgoing.notify ='

Does what I want!

   > Alternately, it looks like you can use --config notify.test=True to
   > make it print to stdout instead of sending.

Ok that is an alternative, but I prefer the former.

   > It looks like the command ('push' in this case) needs to come first.
   > It also looks like you can't specify --config with a simple alias.
   > You can work around it with a shell alias:

   > [alias]
   > without = !$HG --config extensions.notify=! push

Thanks and in my case

without = !$HG --config extensions.notify=! --config 'hooks.outgoing.notify ='  push


Thanks again!

Uwe 

_______________________________________________
Mercurial mailing list
Mercurial@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic