[Pkg-bazaar-commits] ./bzr/unstable r334: doc
Martin Pool
mbp at sourcefrog.net
Fri Apr 10 07:51:53 UTC 2009
------------------------------------------------------------
revno: 334
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Tue 2005-05-03 18:00:27 +1000
message:
doc
modified:
TODO
bzrlib/trace.py
-------------- next part --------------
=== modified file 'TODO'
--- a/TODO 2005-05-03 07:48:16 +0000
+++ b/TODO 2005-05-03 08:00:27 +0000
@@ -78,6 +78,8 @@
* Atomic file class that renames into place when it's closed.
+* Don't abort if ``~/.bzr.log`` can't be used.
+
Medium things
-------------
@@ -153,6 +155,10 @@
* Consider using Python logging library as well as/instead of
bzrlib.trace.
+* Commands should give some progress indication by default.
+
+ - But quieten this with ``--silent``.
+
* Change to using gettext message localization.
* Make a clearer separation between internal and external bzrlib
=== modified file 'bzrlib/trace.py'
--- a/bzrlib/trace.py 2005-05-03 07:57:06 +0000
+++ b/bzrlib/trace.py 2005-05-03 08:00:27 +0000
@@ -26,9 +26,6 @@
######################################################################
# messages and logging
-## TODO: If --verbose is given then write to both stderr and
-## _tracefile; perhaps replace _tracefile with a tee thing.
-
global _tracefile, _starttime
_tracefile = None
@@ -40,10 +37,6 @@
silent = False
-# TODO: Somehow tie this to the --verbose option?
-verbose = False
-
-
# fix this if we ever fork within python
_mypid = os.getpid()
_logprefix = '[%d] ' % _mypid
@@ -73,10 +66,6 @@
_write_trace(msg)
-# TODO: Something to log exceptions in here.
-
-
-
def _rollover_trace_maybe(trace_fname):
try:
size = os.stat(trace_fname)[stat.ST_SIZE]
@@ -101,10 +90,6 @@
def create_tracefile(argv):
- # TODO: Also show contents of /etc/lsb-release, if it can be parsed.
- # Perhaps that should eventually go into the platform library?
- # TODO: If the file doesn't exist, add a note describing it.
-
# Messages are always written to here, so that we have some
# information if something goes wrong. In a future version this
# file will be removed on successful completion.
More information about the Pkg-bazaar-commits
mailing list