Show More
@@ -1979,6 +1979,8 b' def tag(ui, repo, name, rev=None, **opts' | |||
|
1979 | 1979 | """ |
|
1980 | 1980 | if name == "tip": |
|
1981 | 1981 | raise util.Abort(_("the name 'tip' is reserved")) |
|
1982 | if 'rev' in opts: | |
|
1983 | rev = opts['rev'] | |
|
1982 | 1984 | if rev: |
|
1983 | 1985 | r = hex(repo.lookup(rev)) |
|
1984 | 1986 | else: |
@@ -2333,7 +2335,8 b' table = {' | |||
|
2333 | 2335 | [('l', 'local', None, _('make the tag local')), |
|
2334 | 2336 | ('m', 'message', "", _('message for tag commit log entry')), |
|
2335 | 2337 | ('d', 'date', "", _('record datecode as commit date')), |
|
2336 |
('u', 'user', "", _('record user as commiter')) |
|
|
2338 | ('u', 'user', "", _('record user as commiter')), | |
|
2339 | ('r', 'rev', "", _('revision to tag'))], | |
|
2337 | 2340 | _('hg tag [OPTION]... NAME [REV]')), |
|
2338 | 2341 | "tags": (tags, [], _('hg tags')), |
|
2339 | 2342 | "tip": (tip, [], _('hg tip')), |
General Comments 0
You need to be logged in to leave comments.
Login now