• Greg Ward's avatar
    Added 'force' and 'quiet' (negative alias for 'verbose') to the · 0c35ac62
    Greg Ward yazdı
      global options table.
    Every Command instance now has its own copies of the global options,
      which automatically fallback to the Distribution instance.  Changes:
      - initialize them in constructor
      - added '__getattr__()' to handle the fallback logic
      - changed every 'self.distribution.{verbose,dry_run}' in Command to
        'self.{verbose,dry_run}'.
      - filesystem utility methods ('copy_file()' et al) don't take 'update'
        parameter anymore -- instead we pass 'not force' to the underlying
        function as 'update'
    Changed parsing of command line so that global options apply to all
      commands as well -- that's how (eg.) Command.verbose will be initialized.
    Simplified 'make_file()' to use 'newer_group()' (from util module).
    Deleted some cruft.
    Some docstring tweaks.
    0c35ac62
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.hgtags Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...