hg add default behaviour...

Brian Baker brian_e_baker at yahoo.com
Thu Aug 23 15:31:15 CDT 2007


Date: Wed, 22 Aug 2007 22:32:40 -0500
From: "Mark A. Flacy" <mflacy at verizon.net>
Subject: Re: hg add default behaviour...
To: mercurial at selenic.com
Message-ID: <1187839960l.4123l.0l at flacy>
Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed

On 2007.08.22 15:01, Brian Baker wrote:
> 
> +tan(90)
> 
> The way I see it 'hg add' with no arguments doesn't fit the principle
> of least suprise.

So then "hg commit" with no arguments should also do nothing, right?

Surely the things that are committed have already been queued up?
We don't want to queue up a load of garbage and not have a simple way
of removing it!

> 
> In fact being a newcomer to Mercurial I'd be very suprised if a bunch
> of objects and other generated files got added to my repo all of a
> sudden. If I do a 'hg add' in new directory I'd just made with a
 couple
> of source files in, I wouldn't expect stuff from all over the
> repository to get added.
> 
> I say hang backwards compatibility, and make the default behaviour
> sane.Now is the time to do it as Mercurial hasn't got to version 1. I
  
> too
> would like to know who relies on the wacky default behaviour of add.

I'd like to know why I'm getting to read the views of a bunch of idiots
who can't seem to remember how "hg add" works. 

Its because you have subscribed to the discussion mailing list....

It is insulting and idiotic on your part, the fact of the matter is
that hg add's behaviour is suprising. Even if *you* think that we're a
bunch of idiots!

The question still stands, who relies on the default behaviour?
And why not change it, us idiots would welcome some sanity!
Just because we're idiots doesn't mean we're mental!

Brian

READ CAREFULLY. By receiving this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.


      ___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 


More information about the Mercurial mailing list