##// END OF EJS Templates
githelp: clean up reflog help...
Gregory Szorc -
r35737:a4cd8f52 default
parent child Browse files
Show More
@@ -793,9 +793,7 b' def reflog(ui, repo, *args, **kwargs):'
793
793
794 ui.status(str(cmd), "\n\n")
794 ui.status(str(cmd), "\n\n")
795 ui.status(_("note: in hg commits can be deleted from repo but we always"
795 ui.status(_("note: in hg commits can be deleted from repo but we always"
796 " have backups.\n"
796 " have backups.\n"))
797 "Please use 'hg backups --restore' or 'hg reset'" +
798 " to restore from backups.\n"))
799
797
800 def reset(ui, repo, *args, **kwargs):
798 def reset(ui, repo, *args, **kwargs):
801 cmdoptions = [
799 cmdoptions = [
@@ -271,3 +271,15 b' githelp for add'
271 note: use hg addremove to remove files that have been deleted.
271 note: use hg addremove to remove files that have been deleted.
272
272
273 hg add
273 hg add
274
275 githelp for reflog
276
277 $ hg githelp -- git reflog
278 hg journal
279
280 note: in hg commits can be deleted from repo but we always have backups.
281
282 $ hg githelp -- git reflog --all
283 hg journal --all
284
285 note: in hg commits can be deleted from repo but we always have backups.
General Comments 0
You need to be logged in to leave comments. Login now