[PATCH] Make ui.warn write to stderr
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PATCH] Make ui.warn write to stderr
From: Bryan O'Sullivan <bos@serpentine.com>
> Someone is probably using ui.write instead of ui.warn.
Actually, ui.warn uses ui.write. So hg never prints to stderr right
now. Here's a patch to fix that.
[mpm: add sys.stdout.flush()]
manifest hash: c09c645a5985b640a7ad884afb0eeb11fcffbb19
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCxcEaywK+sNU5EO8RAhWUAJ9vVteAodKC9zIhIWUuPqVl2d915QCePp5S
asuv62w4Zv+o0gB3SoucYdQ=
=NYrs
-----END PGP SIGNATURE-----
General:
- Better documentation
- More regression tests
- More specific try/except.
- less code duplication, more code in the right places
- python 2.2 support
- better import support
- export to git
- Add standard files: ChangeLog? What else?
- Code cleanup: apply http://python.org/peps/pep-0008.html
- Replace all remaining print statements with appropriate ui function
Core:
- difflib creating/removing files (fixed except dates: should be epoch)
- directory foo.d or foo.i with existing file foo (use some quoting?)
- get various options from hgrc (e.g. history always -v, tip always -q)
- better push support (hack exists)
- hg over ssh:// and https:// and rsync://
- hooks for new changesets getting pulled/imported etc.
- make showing removed files (in history etc.) faster.
Commands:
- hg add <directory> should work
- hg status <filename>: file rev, changeset rev, changed, added,
deleted, sha-1
- select to pull a subset of the heads
- commands.py: number of args too much magic (e.g. in patch())
- automatic pull fallback to old-http://
- hg pull default in a subdir doesn't work, if it is a relative path
- optionally only show merges (two parents or parent != changeset-1, etc.)
Web:
- show tags in hgweb
- show parent changeset number in hgweb
- optionally only show merges (two parents or parent != changeset-1, etc.)
- one hgweb with many repos (another script)
- hgweb tip link too verbose
- hgweb: deliver static files (e.g. favicon, stylesheets)
- hgweb personalization: timezone (display/change), display of
features
- hg export 240 shows -tkmerge (good), hgweb does not (bad).
- some web servers think hgweb.cgi.[di] is a CGI script with old-http://
(use quoting (see foo.d in Core) or document server configurations?)
- link children in hgweb