[BUG] The -f option to qnew has been removed
Dan Villiom Podlaski Christiansen
danchr at gmail.com
Wed Nov 24 19:41:00 CST 2010
On 25 Nov 2010, at 01:19, Peter Williams wrote:
> For you but not for everybody. Why didn't you just put -f in the
> default options for qnew in your .hgrc file? Why break backward
> compatibility just to scratch a personal itch?
The decision to change the behaviour for ‘qnew’ without the -f/--force
argument was made at the Paris Sprint in February. It was hardly
Martin's ‘personal itch’ that needed scratching. Consensus was that
the current behaviour of ‘qnew’ didn't make sense, and that everyone
present always used ‘qnew -f’ or had it in their configurations as a
default or an alias. There's no need to make this personal.
That this change broke your frontend is unfortunate, but it's too late
to reverse it now. The change has been out there for more than half a
year…
> I'm of the opinion that my scripts should honour the user's personal
> configuration and I don't want to override any except
> colourization. I override colourization by setting the terminal for
> hg commands that I run to "dumb".
HGPLAIN is the intended and documented way to disable user
customizations that might interfere with frontends. For example,
aliases allow users to make any command point to something else, and
setting HGPLAIN disables this.
> What's "pager"? I couldn't see reference to it in help pages that I
> tried (rev, status). It sounds like something that I might have to
> worry about.
‘pager’ is an extension that pipes the output of Mercurial through a
pager, e.g. ‘less’. By default, it will only be active when
ui.formatted is true, which is the default when standard output is a
terminal. The pager extension was added in Mercurial 1.0.
--
Dan Villiom Podlaski Christiansen
danchr at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1943 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20101125/08a70273/attachment.bin>
More information about the Mercurial-devel
mailing list