~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_info.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-11-22 04:21:29 UTC
  • mfrom: (2996.2.9 rich-root)
  • Revision ID: pqm@pqm.ubuntu.com-20071122042129-w0k63wqlxo09i4xb
Add support for rich-root format

Show diffs side-by-side

added added

removed removed

Lines of Context:
263
263
        branch5 = tree5.branch
264
264
        out, err = self.run_bzr('info -v lightcheckout')
265
265
        self.assertEqualDiff(
266
 
"""Lightweight checkout (format: dirstate or dirstate-tags or knitpack-experimental)
 
266
"""Lightweight checkout (format: dirstate or dirstate-tags or \
 
267
knitpack-experimental or rich-root)
267
268
Location:
268
269
  light checkout root: lightcheckout
269
270
   checkout of branch: standalone
441
442
        # Out of date lightweight checkout
442
443
        out, err = self.run_bzr('info lightcheckout --verbose')
443
444
        self.assertEqualDiff(
444
 
"""Lightweight checkout (format: dirstate or dirstate-tags or knitpack-experimental)
 
445
"""Lightweight checkout (format: dirstate or dirstate-tags or \
 
446
knitpack-experimental or rich-root)
445
447
Location:
446
448
  light checkout root: lightcheckout
447
449
   checkout of branch: standalone
579
581
        datestring_first = format_date(rev.timestamp, rev.timezone)
580
582
        out, err = self.run_bzr('info tree/lightcheckout --verbose')
581
583
        self.assertEqualDiff(
582
 
"""Lightweight checkout (format: dirstate or dirstate-tags or knitpack-experimental)
 
584
"""Lightweight checkout (format: dirstate or dirstate-tags or \
 
585
knitpack-experimental or rich-root)
583
586
Location:
584
587
  light checkout root: tree/lightcheckout
585
588
   checkout of branch: repo/branch
710
713
        datestring_last = format_date(rev.timestamp, rev.timezone)
711
714
        out, err = self.run_bzr('info tree/lightcheckout --verbose')
712
715
        self.assertEqualDiff(
713
 
"""Lightweight checkout (format: dirstate or dirstate-tags or knitpack-experimental)
 
716
"""Lightweight checkout (format: dirstate or dirstate-tags or \
 
717
knitpack-experimental or rich-root)
714
718
Location:
715
719
  light checkout root: tree/lightcheckout
716
720
   checkout of branch: repo/branch
1149
1153
            (False, True): 'Lightweight checkout',
1150
1154
            (False, False): 'Checkout',
1151
1155
            }[(shared_repo is not None, light_checkout)]
1152
 
        format = {True: 'dirstate or dirstate-tags or knitpack-experimental',
 
1156
        format = {True: 'dirstate or dirstate-tags or knitpack-experimental'
 
1157
                        ' or rich-root',
1153
1158
                  False: 'dirstate'}[light_checkout]
1154
1159
        if repo_locked or branch_locked or tree_locked:
1155
1160
            def locked_message(a_bool):