[Pkg-bazaar-commits] ./bzr/unstable r52: fixup doctest for new module structure

mbp at sourcefrog.net mbp at sourcefrog.net
Fri Apr 10 07:26:42 UTC 2009


------------------------------------------------------------
revno: 52
committer: mbp at sourcefrog.net
timestamp: Tue 2005-03-22 09:29:49 +1100
message:
  fixup doctest for new module structure
modified:
  bzrlib/commands.py
  bzrlib/tests.py
  doc/purpose.txt
  doc/random.txt
-------------- next part --------------
=== modified file 'bzrlib/commands.py'
--- a/bzrlib/commands.py	2005-03-14 07:40:45 +0000
+++ b/bzrlib/commands.py	2005-03-21 22:29:49 +0000
@@ -487,9 +487,8 @@
 
     ## TODO: --verbose option
     
-    import bzr, doctest, bzrlib.store
+    import doctest, bzrlib.store
     bzrlib.trace.verbose = False
-    doctest.testmod(bzr)
     doctest.testmod(bzrlib.store)
     doctest.testmod(bzrlib.inventory)
     doctest.testmod(bzrlib.branch)

=== modified file 'bzrlib/tests.py'
--- a/bzrlib/tests.py	2005-03-13 05:47:58 +0000
+++ b/bzrlib/tests.py	2005-03-21 22:29:49 +0000
@@ -27,7 +27,7 @@
 
 These are run by ``bzr.doctest``.
 
->>> import bzr, bzrlib, os
+>>> import bzrlib, os
 >>> bzrlib.commands.cmd_rocks()
 it sure does!
 

=== modified file 'doc/purpose.txt'
--- a/doc/purpose.txt	2005-03-13 12:06:51 +0000
+++ b/doc/purpose.txt	2005-03-21 22:29:49 +0000
@@ -74,4 +74,5 @@
 
     * The ability to back up to a previous stable version (one of a number of NamedStableBases), of a system
 
-    * The ability of a developer to checkpoint changes to a module and to back off to a previous version of that module
\ No newline at end of file
+    * The ability of a developer to checkpoint changes to a module and
+      to back off to a previous version of that module

=== modified file 'doc/random.txt'
--- a/doc/random.txt	2005-03-14 04:35:14 +0000
+++ b/doc/random.txt	2005-03-21 22:29:49 +0000
@@ -232,3 +232,8 @@
     levels with them and they can be greatly optimized easily with C/C++
     extensions of the performance critical parts.
 
+
+-----
+
+
+* Fix up diffs for files without a trailing newline



More information about the Pkg-bazaar-commits mailing list