~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Aaron Bentley
  • Date: 2008-06-20 14:47:40 UTC
  • mto: This revision was merged to the branch mainline in revision 3538.
  • Revision ID: aaron@aaronbentley.com-20080620144740-v5wgzwe4zoua3065
Updates from review comments

Show diffs side-by-side

added added

removed removed

Lines of Context:
160
160
              preserve_stacking=False):
161
161
        """Clone this bzrdir and its contents to url verbatim.
162
162
 
163
 
        If url's last component does not exist, it will be created.
164
 
 
165
 
        if revision_id is not None, then the clone operation may tune
 
163
        :param url: The url create the clone at.  If url's last component does
 
164
            not exist, it will be created.
 
165
        :param revision_id: The tip revision-id to use for any branch or
 
166
            working tree.  If not None, then the clone operation may tune
166
167
            itself to download less data.
167
 
        :param force_new_repo: Do not use a shared repository for the target 
 
168
        :param force_new_repo: Do not use a shared repository for the target
168
169
                               even if one is available.
 
170
        :param preserve_stacking: When cloning a stacked branch, stack the
 
171
            new branch on top of the other branch's stacked-on branch.
169
172
        """
170
173
        return self.clone_on_transport(get_transport(url),
171
174
                                       revision_id=revision_id,
176
179
                           force_new_repo=False, preserve_stacking=False):
177
180
        """Clone this bzrdir and its contents to transport verbatim.
178
181
 
179
 
        If the target directory does not exist, it will be created.
180
 
 
181
 
        if revision_id is not None, then the clone operation may tune
 
182
        :param transport: The transport for the location to produce the clone
 
183
            at.  If the target directory does not exist, it will be created.
 
184
        :param revision_id: The tip revision-id to use for any branch or
 
185
            working tree.  If not None, then the clone operation may tune
182
186
            itself to download less data.
183
187
        :param force_new_repo: Do not use a shared repository for the target,
184
188
                               even if one is available.