tests/hghave
branchstable
changeset 16369 e14d7805845d
parent 16320 e11ab387e89c
child 16683 525fdb738975
equal deleted inserted replaced
16368:8614f8e0dd7a 16369:e14d7805845d
   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():