# HG changeset patch # User John Schneiderman # Date 1407973421 18000 # Node ID a444cc89d51ec9936645e893a34c487fab4d0dbd # Parent bc8dd5547269f6d874abd7d2f2c33044d237ede2# Parent ba88b8114b9899c1a1c9e8193010fe6c384f4e8c Merge updated set-up information with exception on stat usage. diff -r bc8dd5547269 -r a444cc89d51e doc/TODO diff -r bc8dd5547269 -r a444cc89d51e src/manager.py --- a/src/manager.py Wed Aug 13 18:35:07 2014 -0500 +++ b/src/manager.py Wed Aug 13 18:43:41 2014 -0500 @@ -43,6 +43,7 @@ import os import shutil import filelock as guard + import stat print "Acquiring manager lock ..." lock = guard.FileLock('HWM') @@ -276,6 +277,9 @@ ignores = {} try: ignores = ignorepo.extract('ignores.xml') + except IOError as e: + print >>sys.stderr, "Failed to locate ignores, error: %s" % e.message + return False except xml.parsers.expat.ExpatError as e: print >>sys.stderr, "Failed to extract ignores, error: %s" % e.message return False @@ -446,7 +450,7 @@ parser = SafeConfigParser() if not parser.read(settings.HgWebPath + os.sep + 'hgweb.config'): - print >>sys.stderr, "Failed to located HgWeb configuration file." + print >>sys.stderr, "Failed to locate HgWeb configuration file." return False if parser.has_section('paths'): @@ -584,7 +588,7 @@ parser = SafeConfigParser() if not parser.read(settings.HgWebPath + os.sep + 'hgweb.config'): - print >>sys.stderr, "Failed to located HgWeb configuration file." + print >>sys.stderr, "Failed to locate HgWeb configuration file." return False if parser.has_section('paths'):