Rev 6517: Split the script into the bulding part and the expected output part. in file:///home/vila/src/bzr/bugs/1072513-log-missing-revs/

Vincent Ladeuil v.ladeuil+lp at free.fr
Fri Nov 9 00:47:53 UTC 2012


At file:///home/vila/src/bzr/bugs/1072513-log-missing-revs/

------------------------------------------------------------
revno: 6517
revision-id: v.ladeuil+lp at free.fr-20121109004753-wlw1yu684qupyx8j
parent: v.ladeuil+lp at free.fr-20121109004345-3vx6zvempsgllpwn
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 1072513-log-missing-revs
timestamp: Fri 2012-11-09 01:47:53 +0100
message:
  Split the script into the bulding part and the expected output part.
-------------- next part --------------
=== modified file 'bzrlib/tests/blackbox/test_log.py'
--- a/bzrlib/tests/blackbox/test_log.py	2012-11-09 00:43:45 +0000
+++ b/bzrlib/tests/blackbox/test_log.py	2012-11-09 00:47:53 +0000
@@ -1191,9 +1191,12 @@
 $ bzr ci -m "Merge C:1"
 # [1]
 $ bzr ci --unchanged -m 'Nada'
+''',
+                        null_output_matches_anything=True)
+        self.run_script('''
 # Now see when foo was touched.
 $ cd ../A
 #$ bzr log -n0 foo
-$ bzr log -n0 -v foo
-''',
-                        null_output_matches_anything=True)
+$ bzr log -n0 -v --line foo
+  1.2.2: ... [merge] Merge A:1
+''')



More information about the bazaar-commits mailing list