Access command line arguments from In-Process Python hook

durwin at mgtsciences.com durwin at mgtsciences.com
Thu Jun 19 18:27:27 UTC 2014


Steve Hoelzer <shoelzer at gmail.com> wrote on 06/19/2014 12:04:35 PM:

> From: Steve Hoelzer <shoelzer at gmail.com>
> To: durwin at mgtsciences.com
> Cc: Matt Mackall <mpm at selenic.com>, Mercurial List 
<mercurial at selenic.com>
> Date: 06/19/2014 12:04 PM
> Subject: Re: Access command line arguments from In-Process Python hook
> 
> On Thu, Jun 19, 2014 at 10:33 AM,  <durwin at mgtsciences.com> wrote:
> > Normally when a new branch is pushed the option
> > --new-branch is specified. So using the force option for both normal 
and
> > branch pushes is an acceptable method for what I am doing?  The 
repository
> > will handle the forced push appropriately for both branch and 
non-branches?
> 
> The force option "will push all new heads on all branches" according to:
> 
>     http://www.selenic.com/mercurial/hg.1.html
> 
> That sounds like what you want.
> 
> Steve

Thank you.  I've done some testing and it looks like it does the job. What 
has me a little concerned is the last part of the sentence,  "...an action 
which will almost always cause confusion for collaborators".




Durwin F. De La Rue
Management Sciences, Inc.
6022 Constitution Ave. NE
Albuquerque, NM  87110
Phone (505) 255-8611




This email message and any attachments are for the sole use of the 
intended recipient(s) and may contain proprietary and/or confidential 
information which may be privileged or otherwise protected from 
disclosure. Any unauthorized review, use, disclosure or distribution is 
prohibited. If you are not the intended recipient(s), please contact the 
sender by reply email and destroy the original message and any copies of 
the message as well as any attachments to the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20140619/22281b0a/attachment-0002.html>


More information about the Mercurial mailing list