Mercurial

From Andreida
Revision as of 22:30, 14 August 2020 by Andreas (talk | contribs) (Created page with "= Misc = == hg == === aliases === ==== mercurial command line log as one line per commit ==== Windows: open C:\Users\<User>\mercurial.ini add: [alias] logline = log --tem...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Misc

hg

aliases

mercurial command line log as one line per commit

Windows: open C:\Users\<User>\mercurial.ini add:

[alias]
logline = log --template "{node|short} | {date|isodatesec} | {author|user}: {desc|strip|firstline}\n"

Linux: open ~/.hgrc add: (the only difference to Windows is " vs '

[alias]
logline = log --template '{node|short} | {date|isodatesec} | {author|user}: {desc|strip|firstline}\n'


TortoiseHG

Why does hg not work?

After you installed TortoiseHG, add the path to the install directory of TortoiseHG to the PATH variable. (Start/Settings/System/About/System Info/Advanced system settings/Environment Variables...)