Permalink
Browse files

Add mercurial configuration

  • Loading branch information...
1 parent f58d18f commit 2d38f1848d4e935cd35c52e35bb2d04e0352a91e @ankon committed Feb 6, 2014
Showing with 60 additions and 0 deletions.
  1. +46 −0 .hgrc
  2. +14 −0 hgstyle
View
46 .hgrc
@@ -0,0 +1,46 @@
+[ui]
+username = Andreas Kohn <andreas.kohn@gmail.com>
+merge = meld
+style=/home/andreas/hgstyle
+#editor=hgeditor
+
+[web]
+# We should do some auth stuff eventually
+allow_push = *
+allow_archive = bz2 zip gz
+description = Toy repositories (push allowed for anyone)
+ipv6 = true
+
+[extensions]
+hgext.hgk =
+# record =
+transplant =
+hgext.rebase =
+hgext.mq =
+hgext.fetch =
+hgext.extdiff =
+hgext.graphlog =
+mercurial_keyring =
+
+# careful with this one, may produce odd errors.
+# It seems to produce a lot of hanging processes
+# inotify =
+
+[diff]
+git=1
+showfunc=1
+
+[extdiff]
+cmd.cdiff = diff
+opts.cdiff = -rNp --side-by-side
+
+
+[defaults]
+qimport = --git
+qrefresh = --git
+
+# See http://stackoverflow.com/questions/2584407/how-to-save-username-and-password-with-mercurial
+[auth]
+bb.prefix = https://bitbucket.org/ankon/
+bb.username = ankon
+# bb.password =
View
14 hgstyle
@@ -0,0 +1,14 @@
+changeset = '{rev}:{node|short} {desc|firstline} ({author|person}) [{tags|stringify|firstline}]\n'
+changeset_quiet = '{rev}:{node|short}\n'
+changeset_verbose = '{rev}:{node|short} {author} {date|isodate}\n\n\t{desc|strip|fill68|tabindent}\n\n{file_mods}{file_adds}{file_dels}{file_copies}\n\n'
+changeset_debug = 'changeset: {rev}:{node}\n{branches}{tags}{parents}{manifest}{extras}user: {author}\ndate: {date|date}\ndescription:\n\t{desc|strip|tabindent}\n\n{file_mods}{file_adds}{file_dels}{file_copies}\n'
+file = '{file}\n'
+file_mod = '\tM {file_mod}\n'
+file_add = '\tA {file_add}\n'
+file_del = '\tD {file_del}\n'
+file_copy = '\tR {name} (from {source})\n'
+parent = 'parent {rev}:{node|formatnode}\n'
+manifest = 'manifest {rev}:{node}\n'
+branch = 'branch {branch}\n'
+tag = 'tag {tag}\n'
+extra = '{key}={value|stringescape}\n'

0 comments on commit 2d38f18

Please sign in to comment.