On Tue 24 Oct 2006 at 07:05PM, Bill Shannon wrote:
> Stephen Lau wrote:
> >Bill Shannon wrote:
> >
> >>John Levon wrote:
> >>
> >>>On Tue, Oct 24, 2006 at 03:44:03PM -0700, Bill Shannon wrote:
> >>>
> >>>
> >>>>There seems to be no equivalent to the "-n" options to bringover
> >>>>and putback.
> >>>
> >>>hg outgoing and hg incoming.
> >>
> >>Ah ha!  Any chance we could get -n options to push and pull, since the
> >>functionality is clearly there?
> >
> >No, please don't... this is the wrong thing to do.  It's adding a new 
> >flag to duplicate functionality that already exists in its regular 
> >command set.
> >
> >We would never allow this in a Sun developed tool (certainly not in 
> >Solaris anyway).

[ Note that I'm not an Hg expert.  Educate me... ]

I tentatively agree with Bill's RFE.

But for a slightly different reason.  A commit is (or should be) a scary
operation.  I think there is significant developer comfort in being able to
simulate the exact steps needed, and then to just remove the '-n' to actually do
the commit.

Additionally, while I'm no expert, from 'hg help' it doesn't appear that
'incoming' and 'pull' take the same set of arguments.  Pull takes -r, and
incoming does not.  Ditto with 'outgoing' and 'push.'  Also, the help for 'push'
describes some conditions under which push will refuse to run.  Will 'outgoing'
similarly refuse to run under those conditions?

I think there is ample precedent for '-n' in UNIX commands and to me the ability
to simulate actions accurately is a longstanding strength of Teamware.

        -dp

-- 
Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to