ConsoleUser

Copyright (c) 2010-2023 Skaion Corporarion, www.skaion.com

This project was developed in part by numerous sponsorships from the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints of Governmental purposes notwithstanding any copyright notation thereon.

All content reflects those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government or Skaion Corporation.

class SCMCommandShell.SCMCommandShell(system, config)

Parent to facilitate doing SCM tasks in a command shell.

Parameters:

clone(remote)

Create a local repo that follows the given remote one. This is like a git clone or cvs checkout.

Parameters:

  • remote: the string that will tell this SCM tool how to find the remote repo

commit_changes(message)

Commit any changes into the local repository.

exit(save=False)

Exit the shell we have been using

Parameters:

  • save: if there is a way to save before exiting, this

    controls whether to do it or not

new_repo()

Create a new repository.

open()

Open the shell

update_local()

Update the local repository from any upstream repos this is configured to use.

update_remote()

Update the local repository from any upstream repos this is