Version control system wrapper allowing the developer to worry about only having to learn one command set to manage all types of repositories.

push.py 468B

    from utilities import execute, isGit, isMercurial, isBazaar def push(arguments): ''' Push commits to target. ''' if isGit(): command = ["git", "push"] command.extend(arguments) execute(command) if isMercurial(): command = ["hg", "push"] command.extend(arguments) execute(command) if isBazaar(): command = ["bzr", "push"] command.extend(arguments) execute(command)