Rev 5689: (jelmer) Add ControlDir.create_repository() stub. (Jelmer Vernooij) in file:///home/pqm/archives/thelove/bzr/%2Btrunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Fri Feb 25 17:21:02 UTC 2011
At file:///home/pqm/archives/thelove/bzr/%2Btrunk/
------------------------------------------------------------
revno: 5689 [merge]
revision-id: pqm at pqm.ubuntu.com-20110225172059-f0741d5sru2n14g2
parent: pqm at pqm.ubuntu.com-20110225020151-tlqdjbxfv5byh7l7
parent: jelmer at samba.org-20110225124233-xph98ufeqppuk6wh
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Fri 2011-02-25 17:20:59 +0000
message:
(jelmer) Add ControlDir.create_repository() stub. (Jelmer Vernooij)
modified:
bzrlib/controldir.py controldir.py-20100802102926-hvtvh0uae5epuibp-1
=== modified file 'bzrlib/controldir.py'
--- a/bzrlib/controldir.py 2011-02-24 16:21:50 +0000
+++ b/bzrlib/controldir.py 2011-02-25 12:42:33 +0000
@@ -141,6 +141,14 @@
"""
raise NotImplementedError(self.needs_format_conversion)
+ def create_repository(self, shared=False):
+ """Create a new repository in this control directory.
+
+ :param shared: If a shared repository should be created
+ :return: The newly created repository
+ """
+ raise NotImplementedError(self.create_repository)
+
def destroy_repository(self):
"""Destroy the repository in this ControlDir."""
raise NotImplementedError(self.destroy_repository)
More information about the bazaar-commits
mailing list