Mercurial > hg > mercurial-crew-with-dirclash
view doc/ja/hgmerge.1.ja.txt @ 3347:25d270e0b27f
ui.py: untangle updateopts
The code in ui.updateopts that handles ui.quiet, ui.verbose and
ui.debugflag is too smart, making it somewhat hard to see what
are the exact constraints placed on the values of these variables,
hiding some buglets.
This patch makes these constraints more explicit, fixing these
buglets and changing the behaviour slightly. It also adds a test
to make sure things work as expected in the future.
The buglets:
- setting ui.debug = True in a hgrc wouldn't turn on verbose mode
- additionally, setting ui.quiet = True or using --quiet would give
you a "quiet debug" mode.
The behaviour change:
- previously, in a hgrc file, ui.quiet wins against ui.verbose (i.e.
the final result would be quiet mode), but --verbose wins against
--quiet
- now ui.quiet nullifies ui.verbose and --verbose nullifies --quiet.
As a consequence, using -qv always gives you normal mode (unless
debug mode was turned on somewhere)
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Tue, 10 Oct 2006 18:43:20 -0300 |
parents | 345bac2bc4ec |
children | 63b9d2deed48 |
line wrap: on
line source
HGMERGE(1) ========== Matt Mackall <mpm@selenic.com> v0.1, 27 May 2005 名前 -- hgmerge - Mercurial ソースコード管理システムでファイルをマージする のに使われるデフォルトのラッパー 書式 -- 'hgmerge' local ancestor remote 説明 -- hgmerge(1) コマンドは Mercurial システムでファイルをマージするため のグラフィカルなインターフェイスを提供します。これは kdiff3, merge(1), tkdiff(1), または単純に diff(1) と patch(1) のラッパーで、 どれがシステム上にあるかに依存します。 hgmerge(1) は Mercurial ソースコード管理システムで環境変数 HGMERGE が設定されていない場合に使われます。 著者 -- Vincent Danjean <Vincent.Danjean@free.fr> によって書かれました。 関連情報 -- hg(1) - Mercurial システムへのコマンドラインインターフェイス 著作権情報 ---- Copyright (C) 2005, 2006 Matt Mackall. このソフトウェアの自由な使用は GNU 一般公有使用許諾 (GPL) のもとで 認められます。