Commits

Jannis Leidel committed c2db335

Initial checking of files of interest

  • Participants

Comments (0)

Files changed (4)

+[tree1]
+root = .
+revision = None
+
+[tree2]
+root = bitbucketextension
+revision = None
+path.default = http://bitbucket.org/boredzo/bitbucketextension/
+
+[tree3]
+root = hgconfig
+revision = None
+path.default = http://bitbucket.org/alu/hgconfig
+
+[tree4]
+root = hgforest
+revision = None
+path.default = http://hg.akoha.org/hgforest/
+
+[tree5]
+root = hgkeychain
+revision = None
+path.default = http://bitbucket.org/schwa/hgkeychain/
+
+[tree6]
+root = hgshelve
+revision = None
+path.default = http://freehg.org/u/tksoh/hgshelve
+
+[tree7]
+root = hgsubversion
+revision = None
+path.default = http://bitbucket.org/durin42/hgsubversion/
+
+[tree8]
+root = rdiff
+revision = None
+path.default = http://hg.kublai.com/mercurial/extensions/rdiff
+
+syntax: glob
+*.pyc
+*.pyo
+*~
+*.swp
+*.orig
+*.kpf
+*.egg-info
+.project
+.pydevproject
+.DS_Store
+MANIFEST
+dist
+build
+secret.txt
+myproject.db
+dev.db
+local_settings.py
+[ui]
+username = Jannis Leidel <jannis@leidel.info>
+ssh = ssh -C
+ignore = ~/.hgignore
+
+[extensions]
+color =
+alias =
+fetch =
+purge =
+rebase =
+hgext.mq =
+hgext.gpg =
+hgext.churn =
+hgext.convert =
+hgext.extdiff =
+hgext.graphlog = 
+hgext.zeroconf =
+hgext.bookmarks =
+hgext.highlight = 
+hgext.patchbomb =
+
+svn = ~/.hgext/hgsubversion
+info = ~/.hgext/info.py
+rdiff = ~/.hgext/rdiff/rdiff.py
+forest = ~/.hgext/hgforest/forest.py
+shelve = ~/.hgext/hgshelve/hgshelve.py
+config = ~/.hgext/hgconfig/hgext/config.py
+hgkeychain = ~/.hgext/hgkeychain/hgkeychain.py
+bitbucketrepo = ~/.hgext/bitbucketextension/bitbucketrepo
+
+[extdiff]
+cmd.chdiff =
+opts.chdiff = --wait
+
+[email]
+method = smtp
+cc = jannis@leidel.info
+from = Jannis Leidel <jannis@leidel.info>
+
+[smtp]
+host = smtp.gmail.com
+username = jannis@leidel.info
+tls = true
+
+[extdiff]
+cmd.chdiff =
+opts.chdiff = --wait
+
+[merge-tools]
+# for Changes.app
+changes.executable = chdiff
+changes.args = --wait $local $other
+# Mercurial extension to provide the 'hg info' command
+#
+# Copyright 2008 by Paul Moore <p.f.moore@gmail.com>
+# Author(s):
+# Paul Moore <p.f.moore@gmail.com>
+#
+# This software may be used and distributed according to the terms
+# of the GNU General Public License, incorporated herein by reference.
+
+from mercurial.i18n import _
+from mercurial.node import short, hex
+
+def info(ui, repo):
+    """Print information about the repository"""
+    ui.write(_("Repository: %s\n") % (repo.root,))
+    ui.write(_("Base Hash: %s\n") % (hex(repo.changectx(0).node()),))
+    ui.write(_("Revisions: %s\n") % (len(repo),))
+    ui.write(_("Files: %s\n") % (len(repo.changectx(None).manifest()),))
+    ui.write(_("Cloned From: %s\n") % (ui.config('paths','default'),))
+    default_push = ui.config('paths','default-push')
+    if default_push:
+        ui.write(_("Push To: %s\n") % (default_push,))
+
+
+cmdtable = {
+    # "command-name": (function-call, options-list, help-string)
+    "info": (info, [], _("hg info"))
+}
+