GNU bug report logs -
#61320
28.2; `vc-cvs-parse-root' returns wrong results
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61320 in the body.
You can then email your comments to 61320 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#61320
; Package
emacs
.
(Mon, 06 Feb 2023 12:45:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Farblos" <AKFKQU.9DF7RP <at> vodafonemail.de>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 06 Feb 2023 12:45:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This reproduces also in master.
Not sure why nobody has reported this. Most likely because the current
callers of `vc-cvs-parse-root' care only about some aspects of the
actual result of `vc-cvs-parse-root'.
$ emacs -Q
In scratch buffer evaluate the following (specification of Ctrl-J
omitted for clarity):
(load-library "vc-cvs")
t
;; this one is correct in the sense that 3rd element of the list is nil
;; (making it a local root for `vc-cvs-repository-hostname'), but
;; probably is not what the author has intended:
(vc-cvs-parse-root ":local:/var/lib/cvs")
("local" nil nil "var:/lib/cvs")
;; but this one is completely broken:
(vc-cvs-parse-root "/var/lib/cvs")
("ext" nil "var" "/lib/cvs")
There might be different fixes, but IMHO the regexp used in function
`vc-cvs-parse-uhp' should be anchored to beginning of line or string:
"\\`\\([^/]+\\)\\(/.*\\)"
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#61320
; Package
emacs
.
(Fri, 12 May 2023 20:50:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 61320 <at> debbugs.gnu.org (full text, mbox):
Fixed in master:
M-x emacs-version RET
GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24,
cairo version 1.16.0) of 2023-05-12
(vc-cvs-parse-root ":local:/var/lib/cvs")
("local" nil nil "/var/lib/cvs")
(vc-cvs-parse-root "/var/lib/cvs")
("local" nil nil "/var/lib/cvs")
Feel free to close this issue.
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Sat, 13 May 2023 06:05:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
"Farblos" <AKFKQU.9DF7RP <at> vodafonemail.de>
:
bug acknowledged by developer.
(Sat, 13 May 2023 06:05:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 61320-done <at> debbugs.gnu.org (full text, mbox):
> Date: Fri, 12 May 2023 22:48:46 +0200
> From: Farblos via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> Fixed in master:
>
> M-x emacs-version RET
>
> GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24,
> cairo version 1.16.0) of 2023-05-12
>
> (vc-cvs-parse-root ":local:/var/lib/cvs")
> ("local" nil nil "/var/lib/cvs")
>
> (vc-cvs-parse-root "/var/lib/cvs")
> ("local" nil nil "/var/lib/cvs")
>
> Feel free to close this issue.
Thanks, done.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 10 Jun 2023 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 336 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.