Show More
@@ -460,6 +460,9 b' def clone(ui, source, dest=None, **opts)' | |||
|
460 | 460 | |
|
461 | 461 | def commit(ui, repo, *files, **opts): |
|
462 | 462 | """commit the specified files or all outstanding changes""" |
|
463 | if opts['text']: | |
|
464 | ui.warn("Warning: -t and --text is deprecated," | |
|
465 | " please use -m or --message instead.\n") | |
|
463 | 466 | message = opts['message'] or opts['text'] |
|
464 | 467 | logfile = opts['logfile'] |
|
465 | 468 | if not message and logfile: |
@@ -791,6 +794,9 b' def push(ui, repo, dest="default-push"):' | |||
|
791 | 794 | |
|
792 | 795 | def rawcommit(ui, repo, *flist, **rc): |
|
793 | 796 | "raw commit interface" |
|
797 | if rc['text']: | |
|
798 | ui.warn("Warning: -t and --text is deprecated," | |
|
799 | " please use -m or --message instead.\n") | |
|
794 | 800 | message = rc['message'] or rc['text'] |
|
795 | 801 | if not message and rc['logfile']: |
|
796 | 802 | try: |
@@ -987,6 +993,9 b' def status(ui, repo, *pats, **opts):' | |||
|
987 | 993 | |
|
988 | 994 | def tag(ui, repo, name, rev=None, **opts): |
|
989 | 995 | """add a tag for the current tip or a given revision""" |
|
996 | if opts['text']: | |
|
997 | ui.warn("Warning: -t and --text is deprecated," | |
|
998 | " please use -m or --message instead.\n") | |
|
990 | 999 | if name == "tip": |
|
991 | 1000 | ui.warn("abort: 'tip' is a reserved name!\n") |
|
992 | 1001 | return -1 |
General Comments 0
You need to be logged in to leave comments.
Login now