[MERGE] internal glob expansion for all commands on win32 and for invocations from the test suite

Alexander Belchenko bialix at ukr.net
Sun Aug 5 16:08:57 BST 2007


Alexander Belchenko has voted comment.
Status is now: Waiting
Comment:
Looks good, but I'd like to test it several days with real data.
There is one place where you need to tweak:

=== modified file 'bzrlib/tests/blackbox/test_commit.py'
--- bzrlib/tests/blackbox/test_commit.py        2007-07-13 02:23:34 
+0000
+++ bzrlib/tests/blackbox/test_commit.py        2007-08-05 09:07:07 
+0000
@@ -74,6 +74,16 @@
          self.run_bzr(['commit', '-m', 'merge into b', 'b'])


+    def test_commit_with_wildcards(self):
+        """Check internal glob expansion for selected* argument 
type."""
+        self.make_branch_and_tree('.')
+        self.build_tree(['aa', 'ab', 'ba', 'bb'])
+        self.run_bzr('add')
+        self.assertEqual(self.run_bzr('st')[0], 'added:\n  aa\n  ab\n 
ba\n  bb\n')
+        self.run_bzr('commit -m message a*')
+        self.assertEqual(self.run_bzr('st')[0], 'added:\n  ba\n  bb\n')
+
+
      def test_10_verbose_commit(self):
          """Add one file and examine verbose commit output"""
          self.run_bzr("init")

^-- One blank line between methods, please (PEP-8).

For details, see: 
http://bundlebuggy.aaronbentley.com/request/%3C46B598AE.7070705%40gmx.ch%3E



More information about the bazaar mailing list