[Pkg-bazaar-commits] ./bzr-gtk/unstable r42: rename --maxnum to --limit

David Allouche david.allouche at canonical.com
Fri Apr 10 07:15:57 UTC 2009


------------------------------------------------------------
revno: 42
committer: David Allouche <david.allouche at canonical.com>
branch nick: ddaa
timestamp: Mon 2006-05-08 15:47:04 +0200
message:
  rename --maxnum to --limit
modified:
  __init__.py
-------------- next part --------------
=== modified file '__init__.py'
--- a/__init__.py	2006-05-08 13:03:59 +0000
+++ b/__init__.py	2006-05-08 13:47:04 +0000
@@ -32,11 +32,12 @@
     """
     takes_options = [
         "revision",
-        Option('maxnum', "maximum number of revisions to display", int, 'count')]
+        Option('limit', "maximum number of revisions to display",
+               int, 'count')]
     takes_args = [ "location?" ]
     aliases = [ "visualize", "vis", "viz" ]
 
-    def run(self, location=".", revision=None, maxnum=None):
+    def run(self, location=".", revision=None, limit=None):
         (branch, path) = Branch.open_containing(location)
         branch.lock_read()
         branch.repository.lock_read()
@@ -51,7 +52,7 @@
             from bzrkapp import BzrkApp
                 
             app = BzrkApp()
-            app.show(branch, revid, maxnum)
+            app.show(branch, revid, limit)
         finally:
             branch.repository.unlock()
             branch.unlock()



More information about the Pkg-bazaar-commits mailing list