##// END OF EJS Templates
merge with stable
Martin Geisler -
r13906:a1e41807 merge default
parent child Browse files
Show More
@@ -412,15 +412,14 b' the path to the ``.py`` file (including '
412 412 defines the extension.
413 413
414 414 To explicitly disable an extension that is enabled in an hgrc of
415 broader scope, prepend its path with ``!``, as in
416 ``hgext.foo = !/ext/path`` or ``hgext.foo = !`` when path is not
417 supplied.
415 broader scope, prepend its path with ``!``, as in ``foo = !/ext/path``
416 or ``foo = !`` when path is not supplied.
418 417
419 418 Example for ``~/.hgrc``::
420 419
421 420 [extensions]
422 421 # (the mq extension will get loaded from Mercurial's path)
423 hgext.mq =
422 mq =
424 423 # (this extension will get loaded from the file specified)
425 424 myfeature = ~/.hgext/myfeature.py
426 425
@@ -740,8 +740,12 b' def graph(web, req, tmpl):'
740 740 downrev = max(0, rev - revcount)
741 741 count = len(web.repo)
742 742 changenav = webutil.revnavgen(rev, revcount, count, web.repo.changectx)
743 startrev = rev
744 # if starting revision is less than 60 set it to uprev
745 if rev < web.maxshortchanges:
746 startrev = uprev
743 747
744 dag = graphmod.revisions(web.repo, rev, downrev)
748 dag = graphmod.revisions(web.repo, startrev, downrev)
745 749 tree = list(graphmod.colored(dag))
746 750 canvasheight = (len(tree) + 1) * bg_height - 27
747 751 data = []
General Comments 0
You need to be logged in to leave comments. Login now