@subcommand.usage('[upstream branch to apply against]')
def CMDdcommit(parser, args):
    'Commits the current changelist via git-svn.'
    if (not settings.GetIsGitSvn()):
        if git_footers.get_footer_svn_id():
            message = "This repository appears to be a git-svn mirror, but no\nupstream SVN master is set. You probably need to run 'git auto-svn' once."
        else:
            message = "This doesn't appear to be an SVN repository.\nIf your project has a true, writeable git repository, you probably want to run\n'git cl land' instead.\nIf your project has a git mirror of an upstream SVN master, you probably need\nto run 'git svn init'.\n\nUsing the wrong command might cause your commit to appear to succeed, and the\nreview to be closed, without actually landing upstream. If you choose to\nproceed, please verify that the commit lands upstream as expected."
        print(message)
        ask_for_data('[Press enter to dcommit or ctrl-C to quit]')
    print('WARNING: chrome infrastructure is migrating SVN repos to Git.\nPlease let us know of this project you are committing to:    http://crbug.com/600451')
    return SendUpstream(parser, args, 'dcommit')
Commits the current changelist via git-svn.
@subcommand.usage('[upstream branch to apply against]')
def CMDdcommit(parser, args):
    
    if (not settings.GetIsGitSvn()):
        if git_footers.get_footer_svn_id():
            message = "This repository appears to be a git-svn mirror, but no\nupstream SVN master is set. You probably need to run 'git auto-svn' once."
        else:
            message = "This doesn't appear to be an SVN repository.\nIf your project has a true, writeable git repository, you probably want to run\n'git cl land' instead.\nIf your project has a git mirror of an upstream SVN master, you probably need\nto run 'git svn init'.\n\nUsing the wrong command might cause your commit to appear to succeed, and the\nreview to be closed, without actually landing upstream. If you choose to\nproceed, please verify that the commit lands upstream as expected."
        print(message)
        ask_for_data('[Press enter to dcommit or ctrl-C to quit]')
    print('WARNING: chrome infrastructure is migrating SVN repos to Git.\nPlease let us know of this project you are committing to:    http://crbug.com/600451')
    return SendUpstream(parser, args, 'dcommit')