419 _ignoreopts = ('no-merges', 'graph') |
418 _ignoreopts = ('no-merges', 'graph') |
420 @command( |
419 @command( |
421 'journal', [ |
420 'journal', [ |
422 ('', 'all', None, 'show history for all names'), |
421 ('', 'all', None, 'show history for all names'), |
423 ('c', 'commits', None, 'show commit metadata'), |
422 ('c', 'commits', None, 'show commit metadata'), |
424 ] + [opt for opt in commands.logopts if opt[1] not in _ignoreopts], |
423 ] + [opt for opt in cmdutil.logopts if opt[1] not in _ignoreopts], |
425 '[OPTION]... [BOOKMARKNAME]') |
424 '[OPTION]... [BOOKMARKNAME]') |
426 def journal(ui, repo, *args, **opts): |
425 def journal(ui, repo, *args, **opts): |
427 """show the previous position of bookmarks and the working copy |
426 """show the previous position of bookmarks and the working copy |
428 |
427 |
429 The journal is used to see the previous commits that bookmarks and the |
428 The journal is used to see the previous commits that bookmarks and the |