hgext/journal.py
changeset 32375 04baab18d60a
parent 32337 46ba2cdda476
child 33383 774beab915fe
equal deleted inserted replaced
32374:194b0f781132 32375:04baab18d60a
    21 from mercurial.i18n import _
    21 from mercurial.i18n import _
    22 
    22 
    23 from mercurial import (
    23 from mercurial import (
    24     bookmarks,
    24     bookmarks,
    25     cmdutil,
    25     cmdutil,
    26     commands,
       
    27     dispatch,
    26     dispatch,
    28     error,
    27     error,
    29     extensions,
    28     extensions,
    30     hg,
    29     hg,
    31     localrepo,
    30     localrepo,
   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