Merge lp:~jelmer/brz/supports-multiple-authors into lp:brz/3.1

Proposed by Jelmer Vernooij
Status: Merged
Approved by: Jelmer Vernooij
Approved revision: 7651
Merge reported by: The Breezy Bot
Merged at revision: not available
Proposed branch: lp:~jelmer/brz/supports-multiple-authors
Merge into: lp:brz/3.1
Diff against target: 39 lines (+7/-0)
3 files modified
breezy/git/repository.py (+1/-0)
breezy/repository.py (+1/-0)
breezy/tests/per_repository/test_repository.py (+5/-0)
To merge this branch: bzr merge lp:~jelmer/brz/supports-multiple-authors
Reviewer Review Type Date Requested Status
Jelmer Vernooij Approve
Review via email: mp+394354@code.launchpad.net

Commit message

Add RepositoryFormat.supports_multiple_authors.

Description of the change

Add RepositoryFormat.supports_multiple_authors.

To post a comment you must log in.
Revision history for this message
Jelmer Vernooij (jelmer) :
review: Approve
Revision history for this message
The Breezy Bot (the-breezy-bot) wrote :

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'breezy/git/repository.py'
2--- breezy/git/repository.py 2020-11-13 02:00:42 +0000
3+++ breezy/git/repository.py 2020-11-23 19:57:01 +0000
4@@ -581,6 +581,7 @@
5 supports_overriding_transport = False
6 supports_custom_revision_properties = False
7 records_per_file_revision = False
8+ supports_multiple_authors = False
9
10 @property
11 def _matchingcontroldir(self):
12
13=== modified file 'breezy/repository.py'
14--- breezy/repository.py 2020-07-04 13:01:59 +0000
15+++ breezy/repository.py 2020-11-23 19:57:01 +0000
16@@ -1337,6 +1337,7 @@
17 supports_custom_revision_properties = True
18 # Does the format record per-file revision metadata?
19 records_per_file_revision = True
20+ supports_multiple_authors = True
21
22 def __repr__(self):
23 return "%s()" % self.__class__.__name__
24
25=== modified file 'breezy/tests/per_repository/test_repository.py'
26--- breezy/tests/per_repository/test_repository.py 2020-06-28 19:19:25 +0000
27+++ breezy/tests/per_repository/test_repository.py 2020-11-23 19:57:01 +0000
28@@ -87,6 +87,11 @@
29 self.assertFormatAttribute('supports_nesting_repositories',
30 (True, False))
31
32+ def test_attribute_supports_multiple_authors(self):
33+ """Test the format.supports_multiple_authors."""
34+ self.assertFormatAttribute('supports_multiple_authors',
35+ (True, False))
36+
37 def test_attribute_supports_unreferenced_revisions(self):
38 """Test the format.supports_unreferenced_revisions."""
39 self.assertFormatAttribute('supports_unreferenced_revisions',

Subscribers

People subscribed via source and target branches