~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2006-03-24 14:06:54 UTC
  • Revision ID: abentley@panoramicfeedback.com-20060324140654-cc9a6b0e8bd1f60a
Improved cbranch docs

Show diffs side-by-side

added added

removed removed

Lines of Context:
282
282
    When you cbranch, bzr looks up the repository associated with your current
283
283
    directory in branches.conf.  It creates a new branch in that repository
284
284
    with the same name and relative path as the checkout you request.
 
285
 
 
286
    The branches.conf parameter is "cbranch_root".  So if you want 
 
287
    cbranch operations in /home/jrandom/bigproject to produce branches in 
 
288
    /home/jrandom/bigproject/repository, you'd add this:
 
289
 
 
290
    [/home/jrandom/bigproject]
 
291
    cbranch_root = /home/jrandom/bigproject/repository
 
292
 
 
293
    Note that if "/home/jrandom/bigproject/repository" isn't a repository,
 
294
    standalone branches will be produced.  Standalone branches will also
 
295
    be produced if the source branch is in 0.7 format (or earlier).
285
296
    """
286
297
    takes_args = ["source", "target"]
287
298
    def run(self, source, target):