/stdhome

To get this branch, use:
bzr branch http://bzr.ed.am/stdhome

« back to all changes in this revision

Viewing changes to lib/stdhome/command/stage_revert.py

  • Committer: Tim Marston
  • Date: 2021-07-05 21:01:29 UTC
  • Revision ID: tim@ed.am-20210705210129-gc746mez1vhzobz7
add stage-status command; add common stage notice to helps

Show diffs side-by-side

added added

removed removed

38
38
                #      01234567890123456789012345678901234567890123456789012345678901234567890123456789
39
39
                print("Revert any modifications made to a local repository, losing those changes.")
40
40
                print()
41
 
                print("In addition to using the add and remove commands, you can also manually modify")
42
 
                print("the files in a local repository and then commit them to a remote repository as")
43
 
                print("required.  This can be done with the staging commands.")
 
41
                Command.print_stage_commands_notice()
44
42
                print()
45
 
                print("When files in your local repository have been modified, several of the primary")
46
 
                print("commands of this program will not be able to function.  This command reverts all")
47
 
                print("modifications to a local repository so that the primary commands can work again.")
48
 
                print("If you have not used any of the staging commands, it is safe to revert a local")
49
 
                print("repository.")
 
43
                print("If you have not used any of the staging commands, it is probably safe to revert")
 
44
                print("a local repository and doing so will allow many primary commands (such as add")
 
45
                print("and remove) to work again.")
50
46
                print()
51
47
                print("Options:")
52
48
                print("      --force      force revert of stage (when there is a problem)")