[patch] better log -v help (was Make log filename faster)

Martin Pool mbp at sourcefrog.net
Fri Mar 31 10:53:28 BST 2006


On 29 Mar 2006, Wayne Davison <wayned at samba.org> wrote:
> On Wed, Mar 29, 2006 at 12:37:18PM -0500, Aaron Bentley wrote:
> > Have you tried log -v?
> 
> For some reason that option didn't stand out to me as one to try, so I
> missed it.  Thanks for pointing that out.

How about


=== modified file 'a/bzrlib/builtins.py'
--- a/bzrlib/builtins.py	
+++ b/bzrlib/builtins.py	
@@ -1032,7 +1032,9 @@
 
 
 class cmd_log(Command):
-    """Show log of this branch.
+    """Show log of a branch, file, or directory.
+
+    By default show the log of the branch containing the working directory.
 
     To request a range of logs, you can use the command -r begin..end
     -r revision requests a specific revision, -r ..end or -r begin.. are
@@ -1044,7 +1046,9 @@
     takes_args = ['filename?']
     takes_options = [Option('forward', 
                             help='show from oldest to newest'),
-                     'timezone', 'verbose', 
+                     'timezone', 
+                     Option('verbose', 
+                             help='show files changed in each revision'),
                      'show-ids', 'revision',
                      'log-format',
                      'line', 'long', 

-- 
Martin




More information about the bazaar mailing list