GNU bug report logs -
#27453
25.1; vc/log-view.el log-view-message-re doesn't support newer Darcs log format
Previous Next
Reported by: Rohan Hart <rohan.hart <at> fronde.com>
Date: Fri, 23 Jun 2017 01:27:02 UTC
Severity: minor
Found in version 25.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
vc-darcs is the emacs package for darcs integration with vc.
If you wished to support very old versions of darcs then keep that complex
match and put the new one before it. Not that I've tested that config - I
just override the entire log-view-message-re as I don't use any of those
other version control systems
thanks
On Tue, 23 Jul 2019 at 23:32, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
> Rohan Hart <rohan.hart <at> fronde.com> writes:
>
> > Well sure, I only raised this as log-view states:
> >
> > ;; Currently supports the format output by:
> > ;; SCCS, RCS, CVS, Subversion, DaRCS, and Mercurial.
> >
> > And later mentions code related to both darcsum and vc-darcs.
>
> Then perhaps it does make sense to add the regexp to log-view-message-re
> after all. The current definition is:
>
> (defvar log-view-message-re
> (concat "^\\(?:revision \\(?1:[.0-9]+\\)\\(?:\t.*\\)?" ; RCS and CVS.
> "\\|r\\(?1:[0-9]+\\) | .* | .*" ; Subversion.
> "\\|D \\(?1:[.0-9]+\\) .*" ; SCCS.
> ;; Darcs doesn't have revision names. VC-darcs uses patch names
> ;; instead. Darcs patch names are hashcodes, which do not appear
> ;; in the log output :-(, but darcs accepts any prefix of the log
> ;; message as a patch name, so we match the first line of the log
> ;; message.
> ;; First loosely match the date format.
> (concat "\\|[^ \n].*[^0-9\n][0-9][0-9]:[0-9][0-9][^0-9\n].*[^
> \n]"
> ;;Email of user and finally Msg, used as revision name.
> " .*@.*\n\\(?: \\* \\(?1:.*\\)\\)?")
> "\\)$")
>
> Is VC-darcs something else than darcs? Or is that an Emacs package?
>
> --
> (domestic pets only, the antidote for overdose, milk.)
> bloggy blog: http://lars.ingebrigtsen.no
>
--
*Rohan Hart*
Technical Lead Developer
Fronde
[image: Fronde Logo]
Level 1, 222 Lambton Quay | PO Box 11-545 | Wellington 6011, New Zealand
m. +64 21 937 533 | e. rohan.hart <at> fronde.com | w. www.fronde.com
--
The information contained in this email is privileged and confidential and
intended for the addressee only. If you are not the intended recipient,
please respect that confidentiality and do not disclose, copy or make use
of its contents. If received in error, please destroy this email and
contact the sender immediately. Thank you.
[Message part 2 (text/html, inline)]
This bug report was last modified 4 years and 279 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.