Merge lp:~jelmer/brz/python3-grep-all into lp:brz
- python3-grep-all
- Merge into trunk
Proposed by
Jelmer Vernooij
Status: | Merged |
---|---|
Approved by: | Jelmer Vernooij |
Approved revision: | no longer in the source branch. |
Merge reported by: | The Breezy Bot |
Merged at revision: | not available |
Proposed branch: | lp:~jelmer/brz/python3-grep-all |
Merge into: | lp:brz |
Prerequisite: | lp:~jelmer/brz/python3-blackbox |
Diff against target: |
359 lines (+101/-35) 4 files modified
breezy/plugins/grep/cmds.py (+1/-1) breezy/plugins/grep/grep.py (+14/-16) breezy/plugins/grep/test_grep.py (+11/-5) python3.passing (+75/-13) |
To merge this branch: | bzr merge lp:~jelmer/brz/python3-grep-all |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Packman | Approve | ||
Review via email: mp+349618@code.launchpad.net |
Commit message
Fix all but one of the grep plugin tests on python 3.
Description of the change
Fix all but one of the grep plugin tests on python 3.
To post a comment you must log in.
Revision history for this message
The Breezy Bot (the-breezy-bot) wrote : | # |
Merging failed
https:/
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'breezy/plugins/grep/cmds.py' |
2 | --- breezy/plugins/grep/cmds.py 2018-07-07 19:27:38 +0000 |
3 | +++ breezy/plugins/grep/cmds.py 2018-07-15 09:29:16 +0000 |
4 | @@ -203,7 +203,7 @@ |
5 | re_flags |= re.IGNORECASE |
6 | |
7 | if not fixed_string: |
8 | - patternc = grep.compile_pattern(pattern, re_flags) |
9 | + patternc = grep.compile_pattern(pattern.encode(grep._user_encoding), re_flags) |
10 | |
11 | if color == 'always': |
12 | show_color = True |
13 | |
14 | === modified file 'breezy/plugins/grep/grep.py' |
15 | --- breezy/plugins/grep/grep.py 2018-07-12 00:27:24 +0000 |
16 | +++ breezy/plugins/grep/grep.py 2018-07-15 09:29:16 +0000 |
17 | @@ -145,14 +145,13 @@ |
18 | self.opts = opts |
19 | self.outf = opts.outf |
20 | if opts.show_color: |
21 | - pat = opts.pattern.encode(_user_encoding, 'replace') |
22 | if opts.fixed_string: |
23 | - self._old = pat |
24 | - self._new = color_string(pat, FG.BOLD_RED) |
25 | + self._old = opts.pattern |
26 | + self._new = color_string(opts.pattern, FG.BOLD_RED) |
27 | self.get_writer = self._get_writer_fixed_highlighted |
28 | else: |
29 | flags = opts.patternc.flags |
30 | - self._sub = re.compile(pat.join(("((?:", ")+)")), flags).sub |
31 | + self._sub = re.compile(opts.pattern.join(("((?:", ")+)")), flags).sub |
32 | self._highlight = color_string("\\1", FG.BOLD_RED) |
33 | self.get_writer = self._get_writer_regexp_highlighted |
34 | else: |
35 | @@ -260,8 +259,8 @@ |
36 | start_rev_tuple = (start_revid, start_revno, 0) |
37 | given_revs = [start_rev_tuple] |
38 | repo = branch.repository |
39 | - diff_pattern = re.compile("^[+\\-].*(" + opts.pattern + ")") |
40 | - file_pattern = re.compile("=== (modified|added|removed) file '.*'", re.UNICODE) |
41 | + diff_pattern = re.compile(b"^[+\\-].*(" + opts.pattern.encode(_user_encoding) + b")") |
42 | + file_pattern = re.compile(b"=== (modified|added|removed) file '.*'") |
43 | outputter = _GrepDiffOutputter(opts) |
44 | writeline = outputter.get_writer() |
45 | writerevno = outputter.get_revision_header_writer() |
46 | @@ -282,7 +281,7 @@ |
47 | old_tree = repo.revision_tree(ancestor_id) |
48 | s = BytesIO() |
49 | diff.show_diff_trees(old_tree, new_tree, s, |
50 | - old_label=b'', new_label=b'') |
51 | + old_label='', new_label='') |
52 | display_revno = True |
53 | display_file = False |
54 | file_header = None |
55 | @@ -296,7 +295,7 @@ |
56 | writerevno("=== revno:%s ===" % (revno,)) |
57 | display_revno = False |
58 | if display_file: |
59 | - writefileheader(" %s" % (file_header,)) |
60 | + writefileheader(" %s" % (file_header.decode(file_encoding, 'replace'),)) |
61 | display_file = False |
62 | line = line.decode(file_encoding, 'replace') |
63 | writeline(" %s" % (line,)) |
64 | @@ -446,7 +445,7 @@ |
65 | if opts.files_with_matches or opts.files_without_match: |
66 | # Optimize for wtree list-only as we don't need to read the |
67 | # entire file |
68 | - with open(path_for_file, 'r', buffering=4096) as file: |
69 | + with open(path_for_file, 'rb', buffering=4096) as file: |
70 | _file_grep_list_only_wtree(file, fp, opts, path_prefix) |
71 | else: |
72 | with open(path_for_file, 'rb') as f: |
73 | @@ -492,7 +491,7 @@ |
74 | |
75 | def _file_grep_list_only_wtree(file, path, opts, path_prefix=None): |
76 | # test and skip binary files |
77 | - if '\x00' in file.read(1024): |
78 | + if b'\x00' in file.read(1024): |
79 | if opts.verbose: |
80 | trace.warning("Binary file '%s' skipped.", path) |
81 | return |
82 | @@ -540,16 +539,15 @@ |
83 | no_line = opts.files_with_matches or opts.files_without_match |
84 | |
85 | if opts.show_color: |
86 | - pat = opts.pattern.encode(_user_encoding, 'replace') |
87 | if no_line: |
88 | self.get_writer = self._get_writer_plain |
89 | elif opts.fixed_string: |
90 | - self._old = pat |
91 | - self._new = color_string(pat, FG.BOLD_RED) |
92 | + self._old = opts.pattern |
93 | + self._new = color_string(opts.pattern, FG.BOLD_RED) |
94 | self.get_writer = self._get_writer_fixed_highlighted |
95 | else: |
96 | flags = opts.patternc.flags |
97 | - self._sub = re.compile(pat.join(("((?:", ")+)")), flags).sub |
98 | + self._sub = re.compile(opts.pattern.join(("((?:", ")+)")), flags).sub |
99 | self._highlight = color_string("\\1", FG.BOLD_RED) |
100 | self.get_writer = self._get_writer_regexp_highlighted |
101 | path_start = FG.MAGENTA |
102 | @@ -648,7 +646,7 @@ |
103 | found = pattern in file_text |
104 | else: |
105 | search = opts.patternc.search |
106 | - if "$" not in pattern: |
107 | + if b"$" not in pattern: |
108 | found = search(file_text) is not None |
109 | else: |
110 | for line in file_text.splitlines(): |
111 | @@ -685,7 +683,7 @@ |
112 | # standard cases, but perhaps could try and detect backtracking |
113 | # patterns here and avoid whole text search in those cases |
114 | search = opts.patternc.search |
115 | - if "$" not in pattern: |
116 | + if b"$" not in pattern: |
117 | # GZ 2010-06-05: Grr, re.MULTILINE can't save us when searching |
118 | # through revisions as bazaar returns binary mode |
119 | # and trailing \r breaks $ as line ending match |
120 | |
121 | === modified file 'breezy/plugins/grep/test_grep.py' |
122 | --- breezy/plugins/grep/test_grep.py 2018-07-07 17:57:42 +0000 |
123 | +++ breezy/plugins/grep/test_grep.py 2018-07-15 09:29:16 +0000 |
124 | @@ -21,6 +21,7 @@ |
125 | import unicodedata as ud |
126 | |
127 | from ... import tests, osutils |
128 | +from ...sixish import PY3 |
129 | from ..._termcolor import color_string, FG |
130 | |
131 | from ...tests.features import ( |
132 | @@ -364,17 +365,23 @@ |
133 | nref = ud.normalize(u'NFC', u"file0.txt~1:line1\0file0.txt~1:line2\0file0.txt~1:line3\0") |
134 | |
135 | out, err = self.run_bzr(['grep', '-r', 'last:1', '--null', 'line[1-3]']) |
136 | - nout = ud.normalize(u'NFC', out.decode('utf-8', 'ignore')) |
137 | + if not PY3: |
138 | + out = out.decode('utf-8', 'ignore') |
139 | + nout = ud.normalize(u'NFC', out) |
140 | self.assertEqual(nout, nref) |
141 | self.assertEqual(len(out.splitlines()), 1) |
142 | |
143 | out, err = self.run_bzr(['grep', '-r', 'last:1', '-Z', 'line[1-3]']) |
144 | - nout = ud.normalize(u'NFC', out.decode('utf-8', 'ignore')) |
145 | + if not PY3: |
146 | + out = out.decode('utf-8', 'ignore') |
147 | + nout = ud.normalize(u'NFC', out) |
148 | self.assertEqual(nout, nref) |
149 | self.assertEqual(len(out.splitlines()), 1) |
150 | |
151 | out, err = self.run_bzr(['grep', '-r', 'last:1', '--null', 'line']) |
152 | - nout = ud.normalize(u'NFC', out.decode('utf-8', 'ignore')) |
153 | + if not PY3: |
154 | + out = out.decode('utf-8', 'ignore') |
155 | + nout = ud.normalize(u'NFC', out) |
156 | self.assertEqual(nout, nref) |
157 | self.assertEqual(len(out.splitlines()), 1) |
158 | |
159 | @@ -2248,6 +2255,5 @@ |
160 | """grep -p with zero revisions.""" |
161 | out, err = self.run_bzr(['init']) |
162 | out, err = self.run_bzr(['grep', '--diff', 'foo'], 3) |
163 | - self.assertEqual(out, b'') |
164 | + self.assertEqual(out, '') |
165 | self.assertContainsRe(err, "ERROR:.*revision.* does not exist in branch") |
166 | - |
167 | |
168 | === modified file 'python3.passing' |
169 | --- python3.passing 2018-07-14 19:36:48 +0000 |
170 | +++ python3.passing 2018-07-15 09:29:16 +0000 |
171 | @@ -638,11 +638,73 @@ |
172 | breezy.plugins.git.tests.test_workingtree.TreeDeltaFromGitChangesTests.test_empty |
173 | breezy.plugins.git.tests.test_workingtree.TreeDeltaFromGitChangesTests.test_missing |
174 | breezy.plugins.grep.test_grep.TestColorGrep.test_color_option |
175 | +breezy.plugins.grep.test_grep.TestColorGrep.test_ver_basic_file |
176 | +breezy.plugins.grep.test_grep.TestColorGrep.test_ver_matching_files |
177 | +breezy.plugins.grep.test_grep.TestColorGrep.test_wtree_basic_file |
178 | +breezy.plugins.grep.test_grep.TestColorGrep.test_wtree_matching_files |
179 | +breezy.plugins.grep.test_grep.TestGrepDiff.test_grep_diff_basic |
180 | +breezy.plugins.grep.test_grep.TestGrepDiff.test_grep_diff_color |
181 | +breezy.plugins.grep.test_grep.TestGrepDiff.test_grep_diff_revision |
182 | +breezy.plugins.grep.test_grep.TestGrepDiff.test_grep_diff_revision_range |
183 | +breezy.plugins.grep.test_grep.TestGrepDiff.test_grep_norevs |
184 | +breezy.plugins.grep.test_grep.TestGrep.test_basic_unknown_file |
185 | breezy.plugins.grep.test_grep.TestGrep.test_dotted_rev_grep |
186 | +breezy.plugins.grep.test_grep.TestGrep.test_levels |
187 | +breezy.plugins.grep.test_grep.TestGrep.test_multiple_wtree_files |
188 | +breezy.plugins.grep.test_grep.TestGrep.test_no_tree |
189 | +breezy.plugins.grep.test_grep.TestGrep.test_revno_basic_history_grep_file |
190 | +breezy.plugins.grep.test_grep.TestGrep.test_revno_basic_history_grep_full |
191 | +breezy.plugins.grep.test_grep.TestGrep.test_revno_range_basic_history_grep |
192 | +breezy.plugins.grep.test_grep.TestGrep.test_revno_range_versioned_file_from_outside_dir |
193 | +breezy.plugins.grep.test_grep.TestGrep.test_revno_range_versioned_file_in_dir |
194 | +breezy.plugins.grep.test_grep.TestGrep.test_revno_versioned_file_in_dir |
195 | +breezy.plugins.grep.test_grep.TestGrep.test_revspec |
196 | +breezy.plugins.grep.test_grep.TestGrep.test_ver_basic_exclude |
197 | +breezy.plugins.grep.test_grep.TestGrep.test_ver_basic_file |
198 | +breezy.plugins.grep.test_grep.TestGrep.test_ver_basic_include |
199 | +breezy.plugins.grep.test_grep.TestGrep.test_ver_files_with_matches |
200 | +breezy.plugins.grep.test_grep.TestGrep.test_ver_files_without_matches |
201 | +breezy.plugins.grep.test_grep.TestGrep.test_ver_multiple_files |
202 | +breezy.plugins.grep.test_grep.TestGrep.test_ver_null_option |
203 | breezy.plugins.grep.test_grep.TestGrep.test_versioned_binary_file_grep |
204 | +breezy.plugins.grep.test_grep.TestGrep.test_versioned_exclude_file_within_dir |
205 | +breezy.plugins.grep.test_grep.TestGrep.test_versioned_exclude_from_outside_dir |
206 | +breezy.plugins.grep.test_grep.TestGrep.test_versioned_file_in_dir_no_recursive |
207 | +breezy.plugins.grep.test_grep.TestGrep.test_versioned_file_in_dir_recurse |
208 | +breezy.plugins.grep.test_grep.TestGrep.test_versioned_files_from_outside_dir |
209 | +breezy.plugins.grep.test_grep.TestGrep.test_versioned_files_from_outside_two_dirs |
210 | +breezy.plugins.grep.test_grep.TestGrep.test_versioned_file_within_dir |
211 | +breezy.plugins.grep.test_grep.TestGrep.test_versioned_file_within_dir_two_levels |
212 | breezy.plugins.grep.test_grep.TestGrep.test_versioned_from_root_fail |
213 | +breezy.plugins.grep.test_grep.TestGrep.test_versioned_from_root_pass |
214 | +breezy.plugins.grep.test_grep.TestGrep.test_versioned_ignore_case_match |
215 | +breezy.plugins.grep.test_grep.TestGrep.test_versioned_ignore_case_no_match |
216 | +breezy.plugins.grep.test_grep.TestGrep.test_versioned_include_file_within_dir |
217 | +breezy.plugins.grep.test_grep.TestGrep.test_versioned_include_from_outside_dir |
218 | +breezy.plugins.grep.test_grep.TestGrep.test_versioned_with_line_number |
219 | +breezy.plugins.grep.test_grep.TestGrep.test_workingtree_files_from_outside_dir |
220 | +breezy.plugins.grep.test_grep.TestGrep.test_wtree_basic_exclude |
221 | +breezy.plugins.grep.test_grep.TestGrep.test_wtree_basic_file |
222 | +breezy.plugins.grep.test_grep.TestGrep.test_wtree_basic_include |
223 | breezy.plugins.grep.test_grep.TestGrep.test_wtree_binary_file_grep |
224 | +breezy.plugins.grep.test_grep.TestGrep.test_wtree_exclude_file_within_dir |
225 | +breezy.plugins.grep.test_grep.TestGrep.test_wtree_exclude_from_outside_dir |
226 | +breezy.plugins.grep.test_grep.TestGrep.test_wtree_file_in_dir_no_recursive |
227 | +breezy.plugins.grep.test_grep.TestGrep.test_wtree_file_in_dir_recurse |
228 | +breezy.plugins.grep.test_grep.TestGrep.test_wtree_files_from_outside_dir |
229 | +breezy.plugins.grep.test_grep.TestGrep.test_wtree_files_from_outside_two_dirs |
230 | +breezy.plugins.grep.test_grep.TestGrep.test_wtree_files_with_matches |
231 | +breezy.plugins.grep.test_grep.TestGrep.test_wtree_files_without_matches |
232 | +breezy.plugins.grep.test_grep.TestGrep.test_wtree_file_within_dir |
233 | +breezy.plugins.grep.test_grep.TestGrep.test_wtree_file_within_dir_two_levels |
234 | breezy.plugins.grep.test_grep.TestGrep.test_wtree_from_root_fail |
235 | +breezy.plugins.grep.test_grep.TestGrep.test_wtree_from_root_pass |
236 | +breezy.plugins.grep.test_grep.TestGrep.test_wtree_ignore_case_match |
237 | +breezy.plugins.grep.test_grep.TestGrep.test_wtree_ignore_case_no_match |
238 | +breezy.plugins.grep.test_grep.TestGrep.test_wtree_include_file_within_dir |
239 | +breezy.plugins.grep.test_grep.TestGrep.test_wtree_include_from_outside_dir |
240 | +breezy.plugins.grep.test_grep.TestGrep.test_wtree_null_option |
241 | +breezy.plugins.grep.test_grep.TestGrep.test_wtree_with_line_number |
242 | breezy.plugins.launchpad.test_account.CheckAccountTests.test_check_lp_login_no_ssh_keys |
243 | breezy.plugins.launchpad.test_account.CheckAccountTests.test_check_lp_login_no_user |
244 | breezy.plugins.launchpad.test_account.CheckAccountTests.test_check_lp_login_valid_user |
245 | @@ -1212,14 +1274,14 @@ |
246 | breezy.tests.blackbox.test_annotate.TestSimpleAnnotate.test_annotate_nonexistant_file |
247 | breezy.tests.blackbox.test_annotate.TestSimpleAnnotate.test_annotate_removed_file |
248 | breezy.tests.blackbox.test_annotate.TestSimpleAnnotate.test_annotate_without_workingtree |
249 | -breezy.tests.blackbox.test_bound_branches.TestBind.test_bind_before_bound |
250 | -breezy.tests.blackbox.test_bound_branches.TestBind.test_bind_when_bound |
251 | -breezy.tests.blackbox.test_bound_branches.TestBoundBranches.test_bind_branch6 |
252 | breezy.tests.blackbox.test_bisect.BisectTestCase.testLog |
253 | breezy.tests.blackbox.test_bisect.BisectTestCase.testMove |
254 | breezy.tests.blackbox.test_bisect.BisectTestCase.testRunScript |
255 | breezy.tests.blackbox.test_bisect.BisectTestCase.testWorkflow |
256 | breezy.tests.blackbox.test_bisect.BisectTestCase.testWorkflowSubtree |
257 | +breezy.tests.blackbox.test_bound_branches.TestBind.test_bind_before_bound |
258 | +breezy.tests.blackbox.test_bound_branches.TestBind.test_bind_when_bound |
259 | +breezy.tests.blackbox.test_bound_branches.TestBoundBranches.test_bind_branch6 |
260 | breezy.tests.blackbox.test_bound_branches.TestBoundBranches.test_bind_child_ahead |
261 | breezy.tests.blackbox.test_bound_branches.TestBoundBranches.test_bind_diverged |
262 | breezy.tests.blackbox.test_bound_branches.TestBoundBranches.test_bind_fail_if_missing |
263 | @@ -1414,19 +1476,19 @@ |
264 | breezy.tests.blackbox.test_debug.TestDebugOption.test_dash_derror |
265 | breezy.tests.blackbox.test_debug.TestDebugOption.test_dash_dlock |
266 | breezy.tests.blackbox.test_deleted.TestDeleted.test_deleted_directory |
267 | +breezy.tests.blackbox.test_diff.TestCheckoutDiff.test_diff_across_rename |
268 | breezy.tests.blackbox.test_diff.TestCheckoutDiff.test_diff_illegal_revision_specifiers |
269 | breezy.tests.blackbox.test_diff.TestCheckoutDiff.test_diff_nonexistent |
270 | breezy.tests.blackbox.test_diff.TestCheckoutDiff.test_diff_nonexistent_revision |
271 | breezy.tests.blackbox.test_diff.TestCheckoutDiff.test_diff_unversioned |
272 | breezy.tests.blackbox.test_diff.TestCheckoutDiff.test_diff_using_and_format |
273 | breezy.tests.blackbox.test_diff.TestDiffLabels.test_diff_label_renamed |
274 | +breezy.tests.blackbox.test_diff.TestDiff.test_diff_across_rename |
275 | breezy.tests.blackbox.test_diff.TestDiff.test_diff_illegal_revision_specifiers |
276 | breezy.tests.blackbox.test_diff.TestDiff.test_diff_nonexistent |
277 | breezy.tests.blackbox.test_diff.TestDiff.test_diff_nonexistent_revision |
278 | breezy.tests.blackbox.test_diff.TestDiff.test_diff_unversioned |
279 | breezy.tests.blackbox.test_diff.TestDiff.test_diff_using_and_format |
280 | -breezy.tests.blackbox.test_diff.TestCheckoutDiff.test_diff_across_rename |
281 | -breezy.tests.blackbox.test_diff.TestDiff.test_diff_across_rename |
282 | breezy.tests.blackbox.test_diff.TestExternalDiff.test_external_diff_options_and_using |
283 | breezy.tests.blackbox.test_dump_btree.TestDumpBtree.test_dump_empty_btree_raw_smoke |
284 | breezy.tests.blackbox.test_dump_btree.TestDumpBtree.test_dump_empty_btree_smoke |
285 | @@ -1543,10 +1605,11 @@ |
286 | breezy.tests.blackbox.test_log.MainlineGhostTests.test_log_range |
287 | breezy.tests.blackbox.test_log.MainlineGhostTests.test_log_range_open_begin |
288 | breezy.tests.blackbox.test_log.MainlineGhostTests.test_log_range_open_end |
289 | -breezy.tests.blackbox.test_log.TestLogEncodings.test_log_handles_bad_encoding |
290 | breezy.tests.blackbox.test_log.Test_GenerateAllRevisions.test_no_start_rev_id_with_end_rev_id_being_a_merge |
291 | breezy.tests.blackbox.test_log.Test_GenerateAllRevisions.test_not_an_ancestor |
292 | breezy.tests.blackbox.test_log.Test_GenerateAllRevisions.test_wrong_order |
293 | +breezy.tests.blackbox.test_log.TestLogEncodings.test_log_handles_bad_encoding |
294 | +breezy.tests.blackbox.test_log.TestLogEncodings.test_log_handles_encoding |
295 | breezy.tests.blackbox.test_log.TestLogErrors.test_log_bad_message_re |
296 | breezy.tests.blackbox.test_log.TestLogErrors.test_log_change_incompatible_with_revision |
297 | breezy.tests.blackbox.test_log.TestLogErrors.test_log_change_nonexistent_dotted_revno |
298 | @@ -1563,7 +1626,6 @@ |
299 | breezy.tests.blackbox.test_log.TestLogErrors.test_log_zero_begin_revspec |
300 | breezy.tests.blackbox.test_log.TestLogErrors.test_log_zero_end_revspec |
301 | breezy.tests.blackbox.test_log.TestLogErrors.test_log_zero_revspec |
302 | -breezy.tests.blackbox.test_log.TestLogEncodings.test_log_handles_encoding |
303 | breezy.tests.blackbox.test_log.TestLogExcludeCommonAncestry.test_exclude_common_ancestry_simple_revnos |
304 | breezy.tests.blackbox.test_log.TestLogFile.test_log_file1 |
305 | breezy.tests.blackbox.test_log.TestLogFile.test_log_file2 |
306 | @@ -1639,8 +1701,8 @@ |
307 | breezy.tests.blackbox.test_merge.TestMergeRevisionRange.test_merge_reversed_revision_range(whole-tree) |
308 | breezy.tests.blackbox.test_merge.TestMergeScript.test_merge_empty_branch |
309 | breezy.tests.blackbox.test_merge.TestMerge.test_conflict_leaves_base_this_other_files |
310 | +breezy.tests.blackbox.test_merge.TestMerge.test_directive_cherrypick |
311 | breezy.tests.blackbox.test_merge.TestMerge.test_merge |
312 | -breezy.tests.blackbox.test_merge.TestMerge.test_directive_cherrypick |
313 | breezy.tests.blackbox.test_merge.TestMerge.test_merge_bundle |
314 | breezy.tests.blackbox.test_merge.TestMerge.test_merge_criss_cross |
315 | breezy.tests.blackbox.test_merge.TestMerge.test_merge_defaults_to_reprocess |
316 | @@ -1659,10 +1721,10 @@ |
317 | breezy.tests.blackbox.test_merge.TestMerge.test_merge_with_missing_file |
318 | breezy.tests.blackbox.test_merge.TestMerge.test_no_remember_dont_set_submit |
319 | breezy.tests.blackbox.test_merge.TestMerge.test_remember_sets_submit |
320 | +breezy.tests.blackbox.test_merge.TestMerge.test_weave_cherrypick |
321 | +breezy.tests.blackbox.test_merge.TestMerge.test_weave_conflict_leaves_base_this_other_files |
322 | breezy.tests.blackbox.test_missing.TestMissing.test_missing |
323 | breezy.tests.blackbox.test_missing.TestMissing.test_missing_check_last_location |
324 | -breezy.tests.blackbox.test_merge.TestMerge.test_weave_cherrypick |
325 | -breezy.tests.blackbox.test_merge.TestMerge.test_weave_conflict_leaves_base_this_other_files |
326 | breezy.tests.blackbox.test_missing.TestMissing.test_missing_directory |
327 | breezy.tests.blackbox.test_missing.TestMissing.test_missing_quiet |
328 | breezy.tests.blackbox.test_missing.TestMissing.test_missing_tags |
329 | @@ -1910,8 +1972,8 @@ |
330 | breezy.tests.blackbox.test_resolve.TestResolve.test_resolve_via_directory_option |
331 | breezy.tests.blackbox.test_revert.TestRevert.test_revert |
332 | breezy.tests.blackbox.test_revert.TestRevert.test_revert_chatter |
333 | +breezy.tests.blackbox.test_revert.TestRevert.test_revert_forget_merges |
334 | breezy.tests.blackbox.test_revert.TestRevert.test_revert_in_checkout |
335 | -breezy.tests.blackbox.test_revert.TestRevert.test_revert_forget_merges |
336 | breezy.tests.blackbox.test_revert.TestRevert.test_revert_newly_added |
337 | breezy.tests.blackbox.test_revert.TestRevert.test_revert_removing_file |
338 | breezy.tests.blackbox.test_revision_history.TestRevisionHistory.test_revision_history |
339 | @@ -1951,8 +2013,8 @@ |
340 | breezy.tests.blackbox.test_selftest.TestOptions.test_transport_set_to_memory |
341 | breezy.tests.blackbox.test_selftest.TestOptions.test_transport_set_to_sftp |
342 | breezy.tests.blackbox.test_send.TestSend.test_mailto_child_option |
343 | +breezy.tests.blackbox.test_send.TestSend.test_no_common_ancestor |
344 | breezy.tests.blackbox.test_send.TestSend.test_nonexistant_branch |
345 | -breezy.tests.blackbox.test_send.TestSend.test_no_common_ancestor |
346 | breezy.tests.blackbox.test_serve.TestBzrServe.test_bzr_serve_dhpss |
347 | breezy.tests.blackbox.test_serve.TestBzrServe.test_bzr_serve_inet_readonly |
348 | breezy.tests.blackbox.test_serve.TestBzrServe.test_bzr_serve_inet_readwrite |
349 | @@ -23942,9 +24004,9 @@ |
350 | breezy.tests.test_repository.TestRepositoryPackCollection.test_all_packs_none |
351 | breezy.tests.test_repository.TestRepositoryPackCollection.test_all_packs_one |
352 | breezy.tests.test_repository.TestRepositoryPackCollection.test_all_packs_two |
353 | +breezy.tests.test_repository.TestRepositoryPackCollection.test_autopack_reloads_and_stops |
354 | breezy.tests.test_repository.TestRepositoryPackCollection.test__clear_obsolete_packs |
355 | breezy.tests.test_repository.TestRepositoryPackCollection.test__clear_obsolete_packs_preserve |
356 | -breezy.tests.test_repository.TestRepositoryPackCollection.test_autopack_reloads_and_stops |
357 | breezy.tests.test_repository.TestRepositoryPackCollection.test_ensure_loaded_unlocked |
358 | breezy.tests.test_repository.TestRepositoryPackCollection.test_get_pack_by_name |
359 | breezy.tests.test_repository.TestRepositoryPackCollection.test__max_pack_count |
This is all a little messy and we probably need a better scheme for handling tree content, but seems okay for now.