Revision of changeset "null": Bug or feature?

Dr Rainer Woitok rainer.woitok at gmail.com
Wed Jan 12 11:34:28 UTC 2022


Greetings,

recently I stumbled upon the following:

$ hg log -r null -T '{rev}\n'
-1
$ hg log -r -1 -T '{rev}\n'
665
$ hg tip -T '{rev}\n'
665
$

At least commands "hg identify" and "hg status"  also interpret a revis-
ion of "-1" as "tip".

Does this work as designed?

Sincerely,
  Rainer


More information about the Mercurial mailing list