[issue1157] Commit identifiers should be printed in a selection-friendly way
Carl Worth
mercurial-bugs at selenic.com
Mon Jun 2 15:11:36 CDT 2008
New submission from Carl Worth <cworth at cworth.org>:
The first time I ever tried to use a commit identifier seen from "hg log"
output failed as follows:
$ hg strip 15143:e27285f68d8d
abort: unknown revision '15143:e27285f68d8d'!
I had no idea that 15143 and e27285f68d8d were aliases for the same
commit and that only one of them should be used. Also, this mistake
was easy to make because simply double-clicking on either one in
my terminal (and I imagine most all terminals) selects both as well
as the separating colon.
It would be much more friendly if these commit identifiers would be
printed in such a way that they could be selected by double clicking.
This could be accomplished by simply replacing the colon with a space
or by splitting the changeset field into two fields. That is, something
like replacing:
changeset: 15143:e27285f68d8d
with something like:
revision number: 15143
commit identifier: e27285f68d8d
or whatever the appropriate terminology would be for mercurial.
-Carl
----------
messages: 6147
nosy: cworth
priority: wish
status: unread
title: Commit identifiers should be printed in a selection-friendly way
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1157>
____________________________________________________
More information about the Mercurial-devel
mailing list