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