/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/versionedfile.py

  • Committer: Martin Pool
  • Date: 2008-06-18 05:35:02 UTC
  • mto: This revision was merged to the branch mainline in revision 3510.
  • Revision ID: mbp@sourcefrog.net-20080618053502-9ogi5d5tx7w5ybf6
Change stray pdb calls to exceptions

Show diffs side-by-side

added added

removed removed

Lines of Context:
1167
1167
        Lines are added locally, not to fallback versionedfiles.  Also, ghosts
1168
1168
        are permitted.  Only reserved ids are permitted.
1169
1169
        """
1170
 
        if type(key) != tuple:
1171
 
            import pdb;pdb.set_trace()
 
1170
        if type(key) is not tuple:
 
1171
            raise TypeError(key)
1172
1172
        if not revision.is_reserved_id(key[-1]):
1173
1173
            raise ValueError('Only reserved ids may be used')
1174
1174
        if parents is None: