Add own style for HG to print date in ISO 8601 format.
--- a/.hgrc Fri Oct 14 15:46:47 2011 +0300
+++ b/.hgrc Tue Oct 18 17:48:42 2011 +0300
@@ -8,6 +8,8 @@
editor = emacs -q
ignore = ~/.hgignore
+style = ~/.hgstyle
+
[defaults]
log = -v -f
incoming = -v
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgstyle Tue Oct 18 17:48:42 2011 +0300
@@ -0,0 +1,25 @@
+changeset = 'changeset: {rev}:{node|short}\n{branches}{bookmarks}{tags}{parents}user: {author}\ndate: {date|isodate}\nsummary: {desc|firstline}\n\n'
+changeset_quiet = '{rev}:{node|short}\n'
+changeset_verbose = 'changeset: {rev}:{node|short}\n{branches}{bookmarks}{tags}{parents}user: {author}\ndate: {date|isodate}\n{files}{file_copies_switch}description:\n{desc|strip}\n\n\n'
+changeset_debug = 'changeset: {rev}:{node}\n{branches}{bookmarks}{tags}{parents}{manifest}user: {author}\ndate: {date|isodate}\n{file_mods}{file_adds}{file_dels}{file_copies_switch}{extras}description:\n{desc|strip}\n\n\n'
+start_files = 'files: '
+file = ' {file}'
+end_files = '\n'
+start_file_mods = 'files: '
+file_mod = ' {file_mod}'
+end_file_mods = '\n'
+start_file_adds = 'files+: '
+file_add = ' {file_add}'
+end_file_adds = '\n'
+start_file_dels = 'files-: '
+file_del = ' {file_del}'
+end_file_dels = '\n'
+start_file_copies = 'copies: '
+file_copy = ' {name} ({source})'
+end_file_copies = '\n'
+parent = 'parent: {rev}:{node|formatnode}\n'
+manifest = 'manifest: {rev}:{node}\n'
+branch = 'branch: {branch}\n'
+tag = 'tag: {tag}\n'
+bookmark = 'bookmark: {bookmark}\n'
+extra = 'extra: {key}={value|stringescape}\n'
--- a/Makefile Fri Oct 14 15:46:47 2011 +0300
+++ b/Makefile Tue Oct 18 17:48:42 2011 +0300
@@ -30,7 +30,7 @@
.bashrc .bash_completion .zshrc .vimrc .ssh .pystartup \
.mailsign .muttrc .tidy \
.dictrc \
- .hgrc .hgignore .bazaar .gitconfig .gitignore .cvs \
+ .hgrc .hgignore .hgstyle .bazaar .gitconfig .gitignore .cvs \
.gnupg
MANUALINSTALL_ITEMS = .mc
IFNONEXIST_ITEMS = .wgetrc .subversion