tests/hghave
branchstable
changeset 1063 0e3b1a8a243c
parent 1056 0e6cee08a2f8
child 1069 4e0cef7a70cf
equal deleted inserted replaced
1061:70b4494ccf1d 1063:0e3b1a8a243c
   175         os.symlink(".", name)
   175         os.symlink(".", name)
   176         os.unlink(name)
   176         os.unlink(name)
   177         return True
   177         return True
   178     except (OSError, AttributeError):
   178     except (OSError, AttributeError):
   179         return False
   179         return False
   180     return hasattr(os, "symlink") # FIXME: should also check file system and os
       
   181 
   180 
   182 def has_tla():
   181 def has_tla():
   183     return matchoutput('tla --version 2>&1', r'The GNU Arch Revision')
   182     return matchoutput('tla --version 2>&1', r'The GNU Arch Revision')
   184 
   183 
   185 def has_gpg():
   184 def has_gpg():