Rev 5665: (jelmer) Document no_tree argument to ControlDir.clone_on_transport. (Jelmer in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Wed Feb 16 19:22:57 UTC 2011


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 5665 [merge]
revision-id: pqm at pqm.ubuntu.com-20110216192255-ihgckago297tcp5z
parent: pqm at pqm.ubuntu.com-20110214130024-t1mtihzn00s31iyc
parent: jelmer at samba.org-20110216155212-xxko1qqq4r46mmhr
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Wed 2011-02-16 19:22:55 +0000
message:
  (jelmer) Document no_tree argument to ControlDir.clone_on_transport. (Jelmer
   Vernooij)
modified:
  bzrlib/bzrdir.py               bzrdir.py-20060131065624-156dfea39c4387cb
  bzrlib/controldir.py           controldir.py-20100802102926-hvtvh0uae5epuibp-1
=== modified file 'bzrlib/bzrdir.py'
--- a/bzrlib/bzrdir.py	2011-02-08 12:48:44 +0000
+++ b/bzrlib/bzrdir.py	2011-02-16 15:52:12 +0000
@@ -190,6 +190,7 @@
         :param create_prefix: Create any missing directories leading up to
             to_transport.
         :param use_existing_dir: Use an existing directory if one exists.
+        :param no_tree: If set to true prevents creation of a working tree.
         """
         # Overview: put together a broad description of what we want to end up
         # with; then make as few api calls as possible to do it.

=== modified file 'bzrlib/controldir.py'
--- a/bzrlib/controldir.py	2011-02-07 04:14:29 +0000
+++ b/bzrlib/controldir.py	2011-02-16 15:52:12 +0000
@@ -602,7 +602,7 @@
 
     def clone_on_transport(self, transport, revision_id=None,
         force_new_repo=False, preserve_stacking=False, stacked_on=None,
-        create_prefix=False, use_existing_dir=True):
+        create_prefix=False, use_existing_dir=True, no_tree=False):
         """Clone this bzrdir and its contents to transport verbatim.
 
         :param transport: The transport for the location to produce the clone
@@ -617,6 +617,7 @@
         :param create_prefix: Create any missing directories leading up to
             to_transport.
         :param use_existing_dir: Use an existing directory if one exists.
+        :param no_tree: If set to true prevents creation of a working tree.
         """
         raise NotImplementedError(self.clone_on_transport)
 




More information about the bazaar-commits mailing list