Formatting inconsistency - {parents} vs {children}
Jan Vrany
jan.vrany at fit.cvut.cz
Wed Dec 5 11:30:24 UTC 2012
Hi,
I've just found out that there is an inconsistency in template variables.
* {parents} expands to an empty string or short changeset id.
if --debug is given, full, 20bytes node is printed, always.
Also. no mention of --debug in help
* {children} expands to short changeset id _always_, no matter
if --debug is given or not.
Is there any way how to expand {children} to full node ids?
In any case, I found this inconsistent and rather confusing
Also, --debug to get full ids is bit strange. I understand
that human beings rarely want full ids when short is sufficient,
but think about machine interface (my case :-)
What about --full-id global option to force full ids wherever
an changeset id is printed?
Cheers, Jan
More information about the Mercurial
mailing list