Changeset 434 in tailor


Ignore:
Timestamp:
07/26/05 23:51:58 (8 years ago)
Author:
lele@…
Hash name:
20050726215158-97f81-f5292be04f5e223d4efdc7a0ac3abdba9fd9a6e5
Message:

Fix --patch-name-format handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/tailor.py

    r432 r434  
    480480                     "'revision', 'firstlogline', 'remaininglog' for normal " 
    481481                     "updates, otherwise 'module', 'authors', 'nchangesets', " 
    482                      "'mindate' and 'maxdate' when using --single-commit."), 
     482                     "'mindate' and 'maxdate' when using --single-commit. It " 
     483                     "defaults to '%(module)s: changeset %(revision)s'; " 
     484                     "setting it to the empty string means that tailor will " 
     485                     "simply use the original changelog."), 
    483486    make_option("-1", "--remove-first-log-line", action="store_true", 
    484487                default=False, 
     
    602605        sys.stdout = codecs.getwriter(options.encoding)(sys.stdout) 
    603606 
    604     if options.patch_name_format: 
     607    if options.patch_name_format is not None: 
    605608        SyncronizableTargetWorkingDir.PATCH_NAME_FORMAT = options.patch_name_format 
    606609    SyncronizableTargetWorkingDir.REMOVE_FIRST_LOG_LINE = options.remove_first_log_line 
Note: See TracChangeset for help on using the changeset viewer.