~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Martin Pool
  • Date: 2006-03-28 18:18:46 UTC
  • mto: This revision was merged to the branch mainline in revision 1627.
  • Revision ID: mbp@sourcefrog.net-20060328181846-1cbeeb403a49d5b8
Disable break-lock command until it works properly

Show diffs side-by-side

added added

removed removed

Lines of Context:
2325
2325
                                 "don't break it"),
2326
2326
                    ]
2327
2327
    def run(self, location, show=False):
2328
 
        d = bzrdir.BzrDir.open(location)
2329
 
        repo = d.open_repository()
2330
 
        if not repo.is_locked():
2331
 
            raise errors.ObjectNotLocked(repo)
 
2328
        raise NotImplementedError("sorry, break-lock is not complete yet; "
 
2329
                "you can remove the 'held' directory manually to break the lock")
2332
2330
 
2333
2331
 
2334
2332
# command-line interpretation helper for merge-related commands