Why doesn't the [committemplate] section do anything in my mercurial .hgrc? -
i have following section in ~/.hgrc file. other settings there work well.
however this:
[committemplate] changeset = {desc}\n\n hg: enter yo commit message. lines beginning 'hg:' removed. hg: {extramsg} hg: -- hg: user: {author}\n{ifeq(p2rev, "-1", "", "hg: branch merge\n") }hg: branch '{branch}'\n{if(activebookmark, "hg: bookmark '{activebookmark}'\n") }{subrepos % "hg: subrepo {subrepo}\n" }{file_adds % "hg: added {file}\n" }{file_mods % "hg: changed {file}\n" }{file_dels % "hg: removed {file}\n" }{if(files, "", "hg: no files changed\n")} which copied help page hgrc, , added yo, see if worked. didn't. i'm using mercurial 3.5, downloaded , installed today https://www.mercurial-scm.org/
Comments
Post a Comment