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
=== modified file 'breezy/git/repository.py'
--- breezy/git/repository.py 2020-11-13 02:00:42 +0000
+++ breezy/git/repository.py 2020-11-23 19:57:01 +0000
@@ -581,6 +581,7 @@
581 supports_overriding_transport = False581 supports_overriding_transport = False
582 supports_custom_revision_properties = False582 supports_custom_revision_properties = False
583 records_per_file_revision = False583 records_per_file_revision = False
584 supports_multiple_authors = False
584585
585 @property586 @property
586 def _matchingcontroldir(self):587 def _matchingcontroldir(self):
587588
=== modified file 'breezy/repository.py'
--- breezy/repository.py 2020-07-04 13:01:59 +0000
+++ breezy/repository.py 2020-11-23 19:57:01 +0000
@@ -1337,6 +1337,7 @@
1337 supports_custom_revision_properties = True1337 supports_custom_revision_properties = True
1338 # Does the format record per-file revision metadata?1338 # Does the format record per-file revision metadata?
1339 records_per_file_revision = True1339 records_per_file_revision = True
1340 supports_multiple_authors = True
13401341
1341 def __repr__(self):1342 def __repr__(self):
1342 return "%s()" % self.__class__.__name__1343 return "%s()" % self.__class__.__name__
13431344
=== modified file 'breezy/tests/per_repository/test_repository.py'
--- breezy/tests/per_repository/test_repository.py 2020-06-28 19:19:25 +0000
+++ breezy/tests/per_repository/test_repository.py 2020-11-23 19:57:01 +0000
@@ -87,6 +87,11 @@
87 self.assertFormatAttribute('supports_nesting_repositories',87 self.assertFormatAttribute('supports_nesting_repositories',
88 (True, False))88 (True, False))
8989
90 def test_attribute_supports_multiple_authors(self):
91 """Test the format.supports_multiple_authors."""
92 self.assertFormatAttribute('supports_multiple_authors',
93 (True, False))
94
90 def test_attribute_supports_unreferenced_revisions(self):95 def test_attribute_supports_unreferenced_revisions(self):
91 """Test the format.supports_unreferenced_revisions."""96 """Test the format.supports_unreferenced_revisions."""
92 self.assertFormatAttribute('supports_unreferenced_revisions',97 self.assertFormatAttribute('supports_unreferenced_revisions',

Subscribers

People subscribed via source and target branches