~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/osutils.py

  • Committer: Robert Collins
  • Date: 2005-10-03 05:16:47 UTC
  • mto: (1393.1.30)
  • mto: This revision was merged to the branch mainline in revision 1400.
  • Revision ID: robertc@robertcollins.net-20051003051646-8a92be7727c533ff
move diff and symlink conditionals into inventory.py from diff.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
543
543
        if e.errno != errno.EXDEV:
544
544
            raise
545
545
        copyfile(src, dest)
 
546
 
 
547
 
 
548
def has_symlinks():
 
549
    if hasattr(os, 'symlink'):
 
550
        return True
 
551
    else:
 
552
        return False