As of r1141, swift will display SVN revision number and an attempt to guess whether the source has been modified from SVN. This introduces a built dependency on SVN, but I don't think anyone builds without SVN around. --