Commits

Bruce Wang committed 99dbe29

add ~/.hgrc

Comments (0)

Files changed (1)

+# a Mercurial/Hg config file
+[ui]
+username = Bruce Wang <number5@gmail.com>
+
+[extensions]
+fetch= 
+inotify =
+hgext.mq=
+hgext.convert=
+color =
+hgext.keyword=
+transplant=
+
+
+[keyword]
+# expand keywords in all python files in working dir
+# **.py =
+# # do not expand keywords in files matching "x*" in working dir
+# x* = ignore
+# ...
+# # override the cvs-like default mappings with customized keyword = expansion pairs,
+# # where expansion values contain Mercurial templates and filters
+[keywordmaps]
+HGdate = {date|rfc822date}
+lastlog = {desc}
+checked in by = {author}
+
+[defaults]
+diff = -p -U 8
+qdiff = -U 8
+qimport = -g
+qrefresh = -g
+qinit = -c
+
+[alias]
+qaccept = qdelete -r
+
+[diff]
+git=1
+
+