/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/osutils.py

  • Committer: Aaron Bentley
  • Date: 2007-12-20 19:16:02 UTC
  • mto: This revision was merged to the branch mainline in revision 3235.
  • Revision ID: abentley@panoramicfeedback.com-20071220191602-q1p5o3svshujfodd
Add support for hardlinks to TreeTransform

Show diffs side-by-side

added added

removed removed

Lines of Context:
850
850
        return False
851
851
 
852
852
 
 
853
def has_hardlinks():
 
854
    if getattr(os, 'link', None) is not None:
 
855
        return True
 
856
    else:
 
857
        return False
 
858
 
 
859
 
853
860
def contains_whitespace(s):
854
861
    """True if there are any whitespace characters in s."""
855
862
    # string.whitespace can include '\xa0' in certain locales, because it is