[PATCH 0 of 3] Add hashdigits global option.
Eric Hopper
hopper at omnifarious.org
Thu Jul 23 22:02:47 CDT 2009
This is a set of changes to both improve global option processing in
some small ways as well as add a global option to allow you to set the
number of hash digits printed by default in the output of various
commands.
I am weird and I prefer referring to revisions with their full hash
values even though 12 digits is enough that it will likely uniquely
identify every revision in a repository with a million changesets. I've
long maintained a patch that allows me to do this without using the
--debug flag, and I thought that a patch that allowed this to be
controlled more flexibly might be something a lot of people would want.
A config option is added as well. The 'hashdigits' option in the 'ui'
section.
[ui]
hashdigits=12
These changes can be pulled from:
http://hg.omnifarious.org/~hopper/merc-tocrew/
Or they can be pulled from the attached bundle.
--
Eric Hopper / http://www.omnifarious.org/~hopper/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hashdigits.bdl
Type: application/octet-stream
Size: 2843 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090723/f5404072/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090723/f5404072/attachment.pgp
More information about the Mercurial-devel
mailing list