equal
deleted
inserted
replaced
2090 """ |
2090 """ |
2091 if name == "tip": |
2091 if name == "tip": |
2092 raise util.Abort(_("the name 'tip' is reserved")) |
2092 raise util.Abort(_("the name 'tip' is reserved")) |
2093 if rev_ is not None: |
2093 if rev_ is not None: |
2094 ui.warn(_("use of 'hg tag NAME [REV]' is deprecated, " |
2094 ui.warn(_("use of 'hg tag NAME [REV]' is deprecated, " |
2095 "please use 'hg tag [-r REV] NAME instead\n")) |
2095 "please use 'hg tag [-r REV] NAME' instead\n")) |
2096 if opts['rev']: |
2096 if opts['rev']: |
2097 raise util.Abort(_("use only one form to specify the revision")) |
2097 raise util.Abort(_("use only one form to specify the revision")) |
2098 if opts['rev']: |
2098 if opts['rev']: |
2099 rev_ = opts['rev'] |
2099 rev_ = opts['rev'] |
2100 if rev_: |
2100 if rev_: |