#!/usr/bin/env python # -*- mode: python; coding: utf-8 -*- # :Progetto: vcpx -- Frontend # :Creato: lun 03 mag 2004 01:39:00 CEST # :Autore: Lele Gaifax # :Licenza: GNU General Public License # """ Keep a tree in sync with its "upstream" repository of a (possibly) different format. For more documentation, see the README file from the distribution. """ __docformat__ = 'reStructuredText' if __name__ == '__main__': import sys import locale locale.setlocale(locale.LC_CTYPE, '') if len(sys.argv)>1 and sys.argv[1] == 'test': del sys.argv[1] from unittest import main main(module='vcpx.tests', argv=sys.argv) else: from vcpx import * if len(sys.argv) == 1: sys.argv.append('--help') try: main() except TailorExceptions, exc: print "%s: %s" % (exc.__doc__, exc) except UnicodeEncodeError, exc: print exc print "You may want to specify a suitable charset using --encoding"