##// END OF EJS Templates
#45 Initial work on keyring_clear
Marcin Kasperski -
r189:b34ad2a5 default
parent child Browse files
Show More
@@ -680,7 +680,7 b' def _smtp(ui):'
680 def cmd_keyring_check(ui, repo, *path_args, **opts):
680 def cmd_keyring_check(ui, repo, *path_args, **opts):
681 """
681 """
682 Prints basic info (whether password is currently saved, and how is
682 Prints basic info (whether password is currently saved, and how is
683 it identified) for given path or all defined repo paths.
683 it identified) for given path or for all defined repo paths which are HTTP.
684 """
684 """
685 import re
685 import re
686
686
@@ -718,11 +718,23 b' def cmd_keyring_check(ui, repo, *path_ar'
718 name, final_url))
718 name, final_url))
719
719
720
720
721 def cmd_keyring_clear(ui, repo, path, **opts):
722 """
723 Drops password bound to given path (if any).
724 """
725 # TODO
726 ui.status(_("Not yet implemented"))
727
721
728
722 cmdtable = {
729 cmdtable = {
723 "keyring_check": (
730 "keyring_check": (
724 cmd_keyring_check,
731 cmd_keyring_check,
725 [],
732 [],
733 "keyring_check [PATH]",
734 ),
735 "keyring_clear": (
736 cmd_keyring_clear,
737 [],
726 "keyring_check PATH",
738 "keyring_check PATH",
727 ),
739 ),
728 }
740 }
General Comments 0
You need to be logged in to leave comments. Login now