~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_remote.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-05-13 18:52:58 UTC
  • mfrom: (5222.1.1 no-rootless-commits)
  • Revision ID: pqm@pqm.ubuntu.com-20100513185258-xtx26u4bsjyhat1n
(abentley) CommitBuilder refuses to commit trees with no root.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2257
2257
        self.setup_smart_server_with_call_log()
2258
2258
        tree = self.make_branch_and_memory_tree('.')
2259
2259
        tree.lock_write()
 
2260
        tree.add('')
2260
2261
        rev1 = tree.commit('First')
2261
2262
        rev2 = tree.commit('Second')
2262
2263
        tree.unlock()