/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: Canonical.com Patch Queue Manager
  • Date: 2008-02-24 19:15:21 UTC
  • mfrom: (3136.1.11 hardlinks2)
  • Revision ID: pqm@pqm.ubuntu.com-20080224191521-mrdhiyn59r5q2z6l
Add hardlink support to checkout and branch (abentley)

Show diffs side-by-side

added added

removed removed

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