Why does the mercury "hg log-style paper" give me a "permission denied" error?
hg log works.
hg log -style does not work.
C: \ temp \ myhg> "c: \ program files \ mercurial \ hg" log changeset: 0: 9c62e300d833 user: Administrator @ biostar date: Wed Oct 21 04:57:41 2009 -0500 summary: 124 my first commit C: \ temp \ myhg> "c: \ program files \ mercurial \ hg" log --style paper abort: Permission denied: c: \ program files \ mercurial \ templates \ paper
While you are reading, here is the big picture: I want to get the magazine format in an easy-to-parse format. If I use -template {files} with the log command, and if there are spaces in the file names, the result is not suitable for parsing. So, according to the docs, I need to use a “style”. But I can’t even get to the point that I am using the styles set with Mercurial.
I did the vanilla Mercurial installation on Windows XP and was able to run init, add, commit, and log commands without problems.