# Path: git_trac/logger.py
# def make_logger(name, doctest_mode=False):
# def enable_doctest_mode():


import importlib
        import logging
from ..logger import logger
    from IPython.terminal.ipapp import TerminalIPythonApp
    from argparse import ArgumentParser
    from .app import ReleaseApplication
                               help='Head commit')
    parser_close.add_argument('--exclude', dest='exclude', default='trac/develop',
                               help='Exclude commit')

    # git releasemgr todo
    parser_todo = subparsers.add_parser('todo', help='Print list of tickets ready to merge')
    add_filter_args(parser_todo)

    # git releasemgr upstream <url>
    parser_upstream = subparsers.add_parser('upstream', help='Upload upstream tarball')
    parser_upstream.add_argument('url', type=str, help='Tarball URL')

    # git releasemgr dist <tarball>
    parser_dist = subparsers.add_parser('dist', help='Upload Sage source tarball')
    parser_dist.add_argument('tarball', type=str, help='Tarball filename')

    # git releasemgr release <version>
    parser_release = subparsers.add_parser('release', help='Create new release')
    parser_release.add_argument('--check', action='store_true', 
                                default=False, help='Extra checks')
    parser_release.add_argument('version', type=str, help='New version string')

    # git releasemgr publish
    parser_publish = subparsers.add_parser('publish', help='Publish version')

    args = parser.parse_args()
    print(args)

    if args.log is not None:
        level = getattr(logging, args.log)

# Path: git_trac/logger.py
# def make_logger(name, doctest_mode=False):
# def enable_doctest_mode():


# Path: git_trac/releasemgr/cmdline.py
import importlib
        import logging
from ..logger import logger
    from IPython.terminal.ipapp import TerminalIPythonApp
    from argparse import ArgumentParser
    from .app import ReleaseApplication

                               help='Head commit')
    parser_close.add_argument('--exclude', dest='exclude', default='trac/develop',
                               help='Exclude commit')

    # git releasemgr todo
    parser_todo = subparsers.add_parser('todo', help='Print list of tickets ready to merge')
    add_filter_args(parser_todo)

    # git releasemgr upstream <url>
    parser_upstream = subparsers.add_parser('upstream', help='Upload upstream tarball')
    parser_upstream.add_argument('url', type=str, help='Tarball URL')

    # git releasemgr dist <tarball>
    parser_dist = subparsers.add_parser('dist', help='Upload Sage source tarball')
    parser_dist.add_argument('tarball', type=str, help='Tarball filename')

    # git releasemgr release <version>
    parser_release = subparsers.add_parser('release', help='Create new release')
    parser_release.add_argument('--check', action='store_true', 
                                default=False, help='Extra checks')
    parser_release.add_argument('version', type=str, help='New version string')

    # git releasemgr publish
    parser_publish = subparsers.add_parser('publish', help='Publish version')

    args = parser.parse_args()
    print(args)

    if args.log is not None:
        level = getattr(logging, args.log)

        logger.setLevel(level=level)