diff --git a/mercurial/templates/map-cmdline.xml b/mercurial/templates/map-cmdline.xml
new file mode 100644
--- /dev/null
+++ b/mercurial/templates/map-cmdline.xml
@@ -0,0 +1,17 @@
+header = '\n\n'
+footer = '\n'
+
+changeset = '\n{branches}{tags}{parents}{author|person|xmlescape}\n{date|rfc3339date}\n{desc|xmlescape}\n\n'
+changeset_verbose = '\n{branches}{tags}{parents}{author|person|xmlescape}\n{date|rfc3339date}\n{desc|xmlescape}\n\n{file_adds}{file_dels}{file_mods}\n{file_copies}\n'
+
+file_add = '{file_add|xmlescape}\n'
+file_mod = '{file_mod|xmlescape}\n'
+file_del = '{file_del|xmlescape}\n'
+
+start_file_copies = '\n'
+file_copy = '{name|xmlescape}\n'
+end_file_copies = '\n'
+
+parent = '\n'
+branch = '{branch|xmlescape}\n'
+tag = '{tag|xmlescape}\n'