41 ('b', 'branch', [], |
41 ('b', 'branch', [], |
42 _('show changesets within the given named branch'), _('BRANCH')), |
42 _('show changesets within the given named branch'), _('BRANCH')), |
43 ('P', 'prune', [], |
43 ('P', 'prune', [], |
44 _('do not display revision or any of its ancestors'), _('REV')), |
44 _('do not display revision or any of its ancestors'), _('REV')), |
45 ] + commands.logopts + commands.walkopts, |
45 ] + commands.logopts + commands.walkopts, |
46 _('[OPTION]... [FILE]')) |
46 _('[OPTION]... [FILE]'), |
|
47 inferrepo=True) |
47 def graphlog(ui, repo, *pats, **opts): |
48 def graphlog(ui, repo, *pats, **opts): |
48 """show revision history alongside an ASCII revision graph |
49 """show revision history alongside an ASCII revision graph |
49 |
50 |
50 Print a revision history alongside a revision graph drawn with |
51 Print a revision history alongside a revision graph drawn with |
51 ASCII characters. |
52 ASCII characters. |
52 |
53 |
53 Nodes printed as an @ character are parents of the working |
54 Nodes printed as an @ character are parents of the working |
54 directory. |
55 directory. |
55 """ |
56 """ |
56 return cmdutil.graphlog(ui, repo, *pats, **opts) |
57 return cmdutil.graphlog(ui, repo, *pats, **opts) |
57 |
|
58 commands.inferrepo += " glog" |
|