GNU bug report logs -
#15698
Show commit revision
Previous Next
To reply to this bug, email your comments to 15698 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15698
; Package
emacs
.
(Thu, 24 Oct 2013 08:20:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Paul Pogonyshev <pogonyshev <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 24 Oct 2013 08:20:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Minor feature request. When committing from VC directory buffer, it would
be useful to see the exact revision number, because I usually need it for
reporting. Currently my workflow is to commit => immediately open log
buffer to see revision number.
I'd suggest amending message "Checking in /home/user/dir...done" message as
something like "Checking in /home/user/dir...done as revision 1234".
Alternatively, just have VC directory buffer always show the last revision
(but this can be problematic/confusing for SVN at least, e.g. my last
commit was 7892, yet 'svn info' shows 7871).
Paul
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15698
; Package
emacs
.
(Sat, 23 Jan 2021 22:27:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 15698 <at> debbugs.gnu.org (full text, mbox):
Paul Pogonyshev <pogonyshev <at> gmail.com> writes:
> Minor feature request. When committing from VC directory buffer, it
> would be useful to see the exact revision number, because I usually
> need it for reporting. Currently my workflow is to commit =>
> immediately open log buffer to see revision number.
>
> I'd suggest amending message "Checking in /home/user/dir...done" message as
> something like "Checking in /home/user/dir...done as revision 1234".
(I'm going through old bug reports that unfortunately got no response at
the time.)
I'm not sure this would be generally useful -- particularly with VCs
like git, where the revision string is really long, which means that you
can't just type it from memory.
> Alternatively, just have VC directory buffer always show the last
> revision (but this can be problematic/confusing for SVN at least,
> e.g. my last commit was 7892, yet 'svn info' shows 7871).
This could perhaps be useful, though? That is, having a line in the
-dir-extra-headers section saying what the current revision is? I've
added Dmitry to the CCs; perhaps he's got an opinion here.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15698
; Package
emacs
.
(Sun, 24 Jan 2021 00:11:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 15698 <at> debbugs.gnu.org (full text, mbox):
On 24.01.2021 00:26, Lars Ingebrigtsen wrote:
>> Minor feature request. When committing from VC directory buffer, it
>> would be useful to see the exact revision number, because I usually
>> need it for reporting. Currently my workflow is to commit =>
>> immediately open log buffer to see revision number.
>>
>> I'd suggest amending message "Checking in /home/user/dir...done" message as
>> something like "Checking in /home/user/dir...done as revision 1234".
> (I'm going through old bug reports that unfortunately got no response at
> the time.)
>
> I'm not sure this would be generally useful -- particularly with VCs
> like git, where the revision string is really long, which means that you
> can't just type it from memory.
That sounds like a bit of a pain to implement, to be honest. If we
wanted to show the revision at the end, and implement it in some
backend-agnostic way, we'd have to add some new action, or an argument
to vc-working-revision (like short-revision)... and implement that for
some backends.
Further, while I also often use the resulting revision string, it really
depends on whether I end up having to rebase before pushing, and that
changes the revision.
>> Alternatively, just have VC directory buffer always show the last
>> revision (but this can be problematic/confusing for SVN at least,
>> e.g. my last commit was 7892, yet 'svn info' shows 7871).
> This could perhaps be useful, though? That is, having a line in the
> -dir-extra-headers section saying what the current revision is? I've
> added Dmitry to the CCs; perhaps he's got an opinion here.
This should be relatively easy to do, adding some text in each
individual backends' function vc-XYZ-dir-extra-headers. Less
indirection, too.
vc-git could show the short revision after the branch name, for example.
vc-svn could just add a new "extra header", I guess. Looks like its
current list is much shorter.
I don't know what's the deal with SVN's revisions, though.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15698
; Package
emacs
.
(Mon, 25 Jan 2021 23:57:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 15698 <at> debbugs.gnu.org (full text, mbox):
Dmitry Gutov <dgutov <at> yandex.ru> writes:
> This should be relatively easy to do, adding some text in each
> individual backends' function vc-XYZ-dir-extra-headers. Less
> indirection, too.
>
> vc-git could show the short revision after the branch name, for example.
Yup; I think that sounds like useful functionality.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 4 years and 138 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.