Rev 2424: Add -1 option to selftest in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Tue Apr 17 08:09:46 BST 2007


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 2424
revision-id: pqm at pqm.ubuntu.com-20070417070943-gzsrutg0oh9timob
parent: pqm at pqm.ubuntu.com-20070417005930-rofskshyjsfzrahh
parent: mbp at sourcefrog.net-20070417062623-qoqarrtsfnmokq70
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Tue 2007-04-17 08:09:43 +0100
message:
  Add -1 option to selftest
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
    ------------------------------------------------------------
    revno: 2418.2.2
    merged: mbp at sourcefrog.net-20070417062623-qoqarrtsfnmokq70
    parent: mbp at sourcefrog.net-20070416043858-ed8ak4hh5a4tumh8
    committer: Martin Pool <mbp at sourcefrog.net>
    branch nick: trivial
    timestamp: Tue 2007-04-17 16:26:23 +1000
    message:
      Add -1 option to selftest
    ------------------------------------------------------------
    revno: 2418.2.1
    merged: mbp at sourcefrog.net-20070416043858-ed8ak4hh5a4tumh8
    parent: pqm at pqm.ubuntu.com-20070413174100-zpfqleaf5ph9ycx4
    committer: Martin Pool <mbp at sourcefrog.net>
    branch nick: trivial
    timestamp: Mon 2007-04-16 14:38:58 +1000
    message:
      Add -f alias for selftest --first
=== modified file 'NEWS'
--- a/NEWS	2007-04-17 00:59:30 +0000
+++ b/NEWS	2007-04-17 07:09:43 +0000
@@ -5,6 +5,9 @@
     * Merge directives can now be supplied as input to `merge` and `pull`,
       like bundles can.  (Aaron Bentley)
 
+    * ``selftest`` has new short options ``-f`` and ``-1``.  (Martin
+      Pool)
+
   INTERNALS:
 
     * bzrlib API compatability with 0.8 has been dropped, cleaning up some

=== modified file 'bzrlib/builtins.py'
--- a/bzrlib/builtins.py	2007-04-12 15:03:56 +0000
+++ b/bzrlib/builtins.py	2007-04-17 06:26:23 +0000
@@ -2317,7 +2317,10 @@
     hidden = True
     takes_args = ['testspecs*']
     takes_options = ['verbose',
-                     Option('one', help='stop when one test fails'),
+                     Option('one',
+                             help='stop when one test fails',
+                             short_name='1',
+                             ),
                      Option('keep-output',
                             help='keep output directories when tests fail'),
                      Option('transport',
@@ -2335,7 +2338,8 @@
                             help='clean temporary tests directories'
                                  ' without running tests'),
                      Option('first',
-                            help='run all tests, but run specified tests first'
+                            help='run all tests, but run specified tests first',
+                            short_name='f',
                             ),
                      Option('numbered-dirs',
                             help='use numbered dirs for TestCaseInTempDir'),




More information about the bazaar-commits mailing list