~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/add.py

  • Committer: Martin Pool
  • Date: 2005-05-09 04:38:31 UTC
  • Revision ID: mbp@sourcefrog.net-20050509043831-d45f7832b7d4d5b0
- better message when refusing to add symlinks (from mpe)

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
        kind = bzrlib.osutils.file_kind(f)
49
49
 
50
50
        if kind != 'file' and kind != 'directory':
51
 
            bailout("can't add file of kind %r" % kind)
 
51
            bailout("can't add file '%s' of kind %r" % (f, kind))
52
52
            
53
53
        versioned = (inv.path2id(rf) != None)
54
54