Mercurial > hg
comparison hgext/graphlog.py @ 29123:0e6b5a5aca22
py3: make hgext/graphlog.py use absolute_import
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Fri, 06 May 2016 21:48:17 +0530 |
parents | f93e7540db8c |
children | d5883fd055c6 |
comparison
equal
deleted
inserted
replaced
29122:660d8d4ec7aa | 29123:0e6b5a5aca22 |
---|---|
13 This extension adds a --graph option to the incoming, outgoing and log | 13 This extension adds a --graph option to the incoming, outgoing and log |
14 commands. When this options is given, an ASCII representation of the | 14 commands. When this options is given, an ASCII representation of the |
15 revision graph is also shown. | 15 revision graph is also shown. |
16 ''' | 16 ''' |
17 | 17 |
18 from __future__ import absolute_import | |
19 | |
18 from mercurial.i18n import _ | 20 from mercurial.i18n import _ |
19 from mercurial import cmdutil, commands | 21 from mercurial import ( |
22 cmdutil, | |
23 commands, | |
24 ) | |
20 | 25 |
21 cmdtable = {} | 26 cmdtable = {} |
22 command = cmdutil.command(cmdtable) | 27 command = cmdutil.command(cmdtable) |
23 # Note for extension authors: ONLY specify testedwith = 'internal' for | 28 # Note for extension authors: ONLY specify testedwith = 'internal' for |
24 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should | 29 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should |